Click here to Skip to main content
15,920,031 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionValidator's across Content Place Holders Pin
mombawomba12-Feb-09 20:10
mombawomba12-Feb-09 20:10 
QuestionUPLOAD IMAGE Pin
JAYRAJ GIRI12-Feb-09 19:37
JAYRAJ GIRI12-Feb-09 19:37 
AnswerRe: UPLOAD IMAGE Pin
VijayVishwakarma12-Feb-09 20:07
VijayVishwakarma12-Feb-09 20:07 
QuestionEncrypt data from database Pin
Guvera12-Feb-09 19:23
Guvera12-Feb-09 19:23 
AnswerRe: Encrypt data from database Pin
ABitSmart12-Feb-09 20:47
ABitSmart12-Feb-09 20:47 
GeneralRe: Encrypt data from database Pin
Guvera12-Feb-09 21:20
Guvera12-Feb-09 21:20 
GeneralRe: Encrypt data from database Pin
ABitSmart12-Feb-09 21:29
ABitSmart12-Feb-09 21:29 
QuestionTree view control Pin
anandhakrishnan12-Feb-09 19:04
anandhakrishnan12-Feb-09 19:04 
Hi,

I am using a Treeview control with xml file as source file. I have given the html source code below.

<asp:TreeView ID="TreeLeftNavigation" runat="server" DataSourceID="XmlDataSource1" ImageSet="Simple" OnTreeNodePopulate="TreeLeftNavigation_TreeNodePopulate" >
<DataBindings>
<asp:TreeNodeBinding DataMember="Countries" Text="Countries" Value="Countries" />
<asp:TreeNodeBinding DataMember="continent" TextField="cont" />
<asp:TreeNodeBinding DataMember="country" TextField="coun" />
<asp:TreeNodeBinding DataMember="language" TextField="lang" NavigateUrlField="Url"/>
<asp:TreeNodeBinding DataMember="captial" TextField="cap" />
<asp:TreeNodeBinding DataMember="cities" TextField="city" />
</DataBindings>
<ParentNodeStyle Font-Bold="False" />
<HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
<SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
VerticalPadding="0px" />
<NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="0px"
NodeSpacing="0px" VerticalPadding="0px" />
</asp:TreeView>
<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/XMLFile.xml"></asp:XmlDataSource>

This is my xml file content.
<?xml version="1.0" encoding="utf-8" ?>
<Countries>
<continent cont="NorthAmerica">
<country coun="United States of America">
<language lang="English" Url="Header.aspx"></language>
<capital cap="Washington D.C"></capital>
<cities city="Chicago"></cities>
</country>
</continent>
<continent cont="Europe">
<country coun="United Kingdom">
<language lang=" English" Url="Header.aspx"></language>
<capital cap="London"></capital>
<cities city="Bristol"></cities>
</country>
</continent>
&lt;/Countries&gt;


Here i have given the url link in xml file. I am getting the url value thru NaviageUrlField property of TreeView control. I want to get the selected leaf node url value when i am clicking on some leaf node. Pls help me.

Tnx in advance.
AnswerRe: Tree view control Pin
VijayVishwakarma12-Feb-09 19:22
VijayVishwakarma12-Feb-09 19:22 
Questiondrag and drop Pin
248912812-Feb-09 18:57
248912812-Feb-09 18:57 
AnswerRe: drag and drop Pin
Calin Tatar13-Feb-09 1:20
Calin Tatar13-Feb-09 1:20 
QuestionFtp Directory and Webserver director in Same Folder Pin
Radhakrishnan G.12-Feb-09 18:37
Radhakrishnan G.12-Feb-09 18:37 
QuestionConfiguration Error Pin
MS Lee12-Feb-09 18:30
MS Lee12-Feb-09 18:30 
AnswerRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 19:50
professionalVimalsoft(Pty) Ltd12-Feb-09 19:50 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:01
MS Lee12-Feb-09 20:01 
GeneralRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:15
professionalVimalsoft(Pty) Ltd12-Feb-09 20:15 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:21
MS Lee12-Feb-09 20:21 
GeneralRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:32
professionalVimalsoft(Pty) Ltd12-Feb-09 20:32 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:39
MS Lee12-Feb-09 20:39 
GeneralRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:42
professionalVimalsoft(Pty) Ltd12-Feb-09 20:42 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:34
MS Lee12-Feb-09 20:34 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 21:10
MS Lee12-Feb-09 21:10 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 23:51
MS Lee12-Feb-09 23:51 
Questionasp.net html emails problem. Pin
VijayVishwakarma12-Feb-09 17:51
VijayVishwakarma12-Feb-09 17:51 
AnswerRe: asp.net html emails problem. Pin
VijayVishwakarma12-Feb-09 19:22
VijayVishwakarma12-Feb-09 19:22 

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.