|
i have developing software in asp.net. i am using xml file in this sofware e.g server.mappath(""); when this software run on the iis show error
Could not find a part of the path 'C:\WINDOWS\system32\xmlFiles\customer.xml'.
please tell me how resolve this error.
|
|
|
|
|
Sounds like your code is broken. Have you stepped through to try to work out what's going on ? Could you consider posting the code you want us to fix for you ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
hi i am asp.net using c#.
i would like to know there is any control provided by the asp.net to page size increase according to filled datalist/datagrid. like i want to show when there are 20 records show 20 records and when there are 1000 records show 1000 records without out from panel. means not come out records outs from a panel( design will remain same).
thanks in advance.
I will do my best?
|
|
|
|
|
Why on earth would you show 1000 records on one page ?
What does 'without out from panel' mean ? Do you mean the images scroll inside a given panel of given size ? Use a scrolling div for that.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
thanks for reply
but i didn't found any scrolling property of div tag. how i can get scrolling div.
thanks in advance.
I will do my best?
|
|
|
|
|
thanks all to solver my problem.
I will do my best?
|
|
|
|
|
Use inline frames. It shows scroll bars when size increases.
|
|
|
|
|
thanks for reply and please tell me
how can i use inline frame in my asp.net using c#
I will do my best?
|
|
|
|
|
|
Data grid has an inbuilt property for it. Just see the property of the datagrid.
http://aspdotnetnstuff.blogspot.com
|
|
|
|
|
thanks for reply but i am using datalist which have no property to scroll records.
thanks again for reply.
I will do my best?
|
|
|
|
|
Hi,
Email address can be unicode like :
Национа@аци.com (This russina Cyrillic chars)
Problem is, I am using System.Net.Mail namespace in our project. When i am creating the email address object
Message.From = new System.Net.Mail.MailAddress(from.Address, from.Name);
then it's throwing an error:
"The specified string is not in the form required for an email address"
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
|
Hi Navaneeth,
This encoding defines for fromName (DisplayName) not for email address.
For name it is working fine.
I am asking about the Email Address.
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
Parwej Ahamad wrote: I am asking about the Email Address.
Well, I am not sure internationalization in email addresses are practical. Here[^] is the RFC which explains internationalization. Try reading it.
|
|
|
|
|
Thanks Navaneeth, I will take a look.
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
HI
I want to bind time zones to a drop down list in asp.net and i am using C# code , please help.
Thanks in advance
|
|
|
|
|
Save all the time zone in the daatbase table called Time zones.
Then use the normal method to get the data in a data reader.
Then loop throught the data reader and then do the following
ListItem Li;
Li= new ListItem();
Li.Text = GetMultilingualText("All");
Li.Value = "0";
ddCategory.Items.Add(Li);
in th loop. Remember replace ddCategory with the name of your drop down.
http://aspdotnetnstuff.blogspot.com
|
|
|
|
|
HI.,
Thx metallica_rock10
|
|
|
|
|
You can also look at System.TimeZoneInfo.GetSystemTimeZones()
|
|
|
|
|
Hi,
That was very helpfull, The goal is accomplished. thanks a lot
|
|
|
|
|
hi i am saurabh please solve my problem
saurabh bhardwaj
|
|
|
|
|
function wopen(url, name, w, h)
{
w += 32;
h += 96;
var win = window.open(url,name,
'width=' + w + ', height=' + h + ', ' +
'location=no, menubar=no, ' +
'status=no, toolbar=no, scrollbars=no, resizable=no');
win.resizeTo(w, h);
win.focus();
}
Button1.Attributes.Add("onclick", "return wopen('default2.aspx','popup',640,480)")
|
|
|
|
|
Use javascript.
window.open(url, help, "WIDTH=452,height=461,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=no,location=0,scrollbars=1,copyhistory=0");
http://aspdotnetnstuff.blogspot.com
|
|
|
|
|
I have tree view i am adding node on page load
TreeNode n = new TreeNode("1node", "","","default2.aspx","my");
TreeNode n1 = new TreeNode("2node", "", "", "default3.aspx", "my");
n.ChildNodes.Add(n1);
TreeView1.Nodes.Add(n);
as i click on node navigation in second framset is done but server side code does not execute i need to change url of 2 frame and also want to run server side code how to do that
|
|
|
|