Click here to Skip to main content
15,911,030 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to perform click event on dynamically created bottons Pin
yogesh_softworld1237-Nov-07 20:45
yogesh_softworld1237-Nov-07 20:45 
AnswerRe: how to perform click event on dynamically created bottons Pin
Guffa7-Nov-07 20:48
Guffa7-Nov-07 20:48 
AnswerRe: how to perform click event on dynamically created bottons Pin
Christian Graus7-Nov-07 22:31
protectorChristian Graus7-Nov-07 22:31 
QuestionHi clear my doubt....plz Pin
Thanigaimani837-Nov-07 20:14
Thanigaimani837-Nov-07 20:14 
AnswerRe: Display The roles Pin
N a v a n e e t h7-Nov-07 21:38
N a v a n e e t h7-Nov-07 21:38 
GeneralDisplay The roles Pin
SreejithAchutan7-Nov-07 21:55
SreejithAchutan7-Nov-07 21:55 
GeneralRe: Display The roles Pin
N a v a n e e t h7-Nov-07 22:12
N a v a n e e t h7-Nov-07 22:12 
GeneralDisplay The roles Pin
SreejithAchutan7-Nov-07 22:24
SreejithAchutan7-Nov-07 22:24 
I didnt get it.whn i tried i get the first location tags roles.also i tried to change the second location tags path by selecting the values .but in this case also it will be displayed in the first location tag.what is the reason i will attach the code with it.


string path = Server.MapPath("web.config");

string pageset = DropDownList2.SelectedItem.ToString();
XmlDocument xDoc = new XmlDocument();

xDoc.Load(path);


XmlNodeList nodeList = xDoc.GetElementsByTagName("location");

XmlNodeList nodeAppSettings = nodeList[0].ChildNodes;//Getting All The Location Tags

XmlNode nodeAuthorization = nodeAppSettings[0].ChildNodes[0];
XmlNode nodeAllow = nodeAuthorization.ChildNodes[0];
XmlAttribute XmlAttRoles = nodeAllow.Attributes[0];
XmlAttribute pageattr = nodeList[0].Attributes[0];
for (int i = 0; i < LocPath.Items.Count; i++)
{
if (LocPath.Items[i].Selected == true)
{
pageattr.InnerXml = pageset;
xDoc.Save(path); // saves the web.

}
}


Th LocPath is the dropdownlist that displays the page attribute .from there i select the 2 location tag path and select the changable value from the DropDownList2.whn i click the button event the path will be displayed in the first location tag.....why .plz help its urgent so i ask to u people.
GeneralRe: Display The roles Pin
Christian Graus7-Nov-07 22:47
protectorChristian Graus7-Nov-07 22:47 
QuestionAuto Complete TextBox Pin
kirthikirthi7-Nov-07 20:01
kirthikirthi7-Nov-07 20:01 
AnswerRe: Auto Complete TextBox Pin
N a v a n e e t h7-Nov-07 21:39
N a v a n e e t h7-Nov-07 21:39 
GeneralRe: Auto Complete TextBox Pin
kirthikirthi7-Nov-07 23:01
kirthikirthi7-Nov-07 23:01 
GeneralRe: Auto Complete TextBox Pin
N a v a n e e t h7-Nov-07 23:18
N a v a n e e t h7-Nov-07 23:18 
QuestionDeveloping Crystal Reports using IIlist Pin
dandamudi padma7-Nov-07 19:55
dandamudi padma7-Nov-07 19:55 
AnswerRe: Developing Crystal Reports using IIlist Pin
N a v a n e e t h7-Nov-07 21:40
N a v a n e e t h7-Nov-07 21:40 
GeneralRe: Developing Crystal Reports using IIlist Pin
dandamudi padma7-Nov-07 22:02
dandamudi padma7-Nov-07 22:02 
GeneralRe: Developing Crystal Reports using IIlist Pin
N a v a n e e t h7-Nov-07 22:14
N a v a n e e t h7-Nov-07 22:14 
QuestionCompare Validator Problem Pin
Jintal Patel7-Nov-07 19:44
Jintal Patel7-Nov-07 19:44 
AnswerRe: Compare Validator Problem Pin
aswini7-Nov-07 20:28
aswini7-Nov-07 20:28 
AnswerRe: Compare Validator Problem Pin
Krushna Sahu7-Nov-07 20:31
Krushna Sahu7-Nov-07 20:31 
QuestionDifference betwen single tier and N tier application. Pin
rahul.net117-Nov-07 19:30
rahul.net117-Nov-07 19:30 
AnswerRe: Difference betwen single tier and N tier application. Pin
asithangae7-Nov-07 21:34
asithangae7-Nov-07 21:34 
QuestionChanging The location tags attribute Pin
SreejithAchutan7-Nov-07 19:22
SreejithAchutan7-Nov-07 19:22 
QuestionDropDown Problem Pin
sabby20067-Nov-07 19:07
sabby20067-Nov-07 19:07 
QuestionDrop Down List Selected Value Problem Pin
Kurian_Kurian7-Nov-07 18:45
Kurian_Kurian7-Nov-07 18:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.