Click here to Skip to main content
15,891,431 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
Tufail Ahmad28-Dec-09 20:16
Tufail Ahmad28-Dec-09 20:16 
AnswerRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
nagendrathecoder28-Dec-09 20:27
nagendrathecoder28-Dec-09 20:27 
AnswerRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
Abhishek Sur28-Dec-09 20:52
professionalAbhishek Sur28-Dec-09 20:52 
AnswerRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
dongavipul28-Dec-09 20:57
dongavipul28-Dec-09 20:57 
AnswerRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
satalaj29-Dec-09 1:19
satalaj29-Dec-09 1:19 
QuestionHow the Filter by tag feature on Code Project is done ? Pin
Pradeep_Nair28-Dec-09 14:33
Pradeep_Nair28-Dec-09 14:33 
QuestionImporting .cer into .pfx Pin
siva.lankada28-Dec-09 13:32
siva.lankada28-Dec-09 13:32 
QuestionTreeview indentation not proper for last node Pin
pranilrao28-Dec-09 11:02
pranilrao28-Dec-09 11:02 
Hi,

I am working with the treeview control and binding it dynamically using the treeview_TreeNodePopulate method.

The code works perfectly fine and treeview behaves as it has to.

However, I am facing one annoying issue in the display of the treeview, the last node and its child do not align properly with the top nodes. Check the image below for better understanding,

http://dotnetspider.com/attachments/Forums/235454-281550-tree.GIF[^]

Note: I have blocked the text of options deliberately.

So as you can notice that the child nodes of Level 3 are not getting aligned with that of Level 1 and 2.

Following is my asp code,

<asp:TreeView ID="tvMaster" runat="server" RootNodeStyle-CssClass="rootNode" NodeStyle-HorizontalPadding="2px"<br />
                                                                              NodeStyle-VerticalPadding="2px" NodeIndent="1" NodeWrap="true" ShowLines="true"<br />
                                                                              CssClass="tree"><br />
                                                                              <Nodes><br />
                                                                                  <asp:TreeNode Text="School Level" PopulateOnDemand="true" SelectAction="Expand"><br />
                                                                                  </asp:TreeNode><br />
                                                                              </Nodes><br />
                                                                          </asp:TreeView>



In the code behind, PopulateNode event fires for every node and I bind the child nodes for that node dependant on the Business logic.
Any inputs on this issue are appreciated.
Thanks,
Pranil
AnswerRe: Treeview indentation not proper for last node Pin
pranilrao29-Dec-09 11:47
pranilrao29-Dec-09 11:47 
QuestionHow to write user control ? Pin
paper6728-Dec-09 5:56
paper6728-Dec-09 5:56 
QuestionUsing FaceBook in ASP Pin
Anil Kumar.Arvapalli28-Dec-09 3:36
Anil Kumar.Arvapalli28-Dec-09 3:36 
AnswerRe: Using FaceBook in ASP Pin
sashidhar28-Dec-09 6:13
sashidhar28-Dec-09 6:13 
QuestionDatabase searching Pin
sv_vasja28-Dec-09 1:17
sv_vasja28-Dec-09 1:17 
AnswerRe: Database searching Pin
ProtoBytes28-Dec-09 12:33
ProtoBytes28-Dec-09 12:33 
GeneralRe: Database searching Pin
sv_vasja28-Dec-09 21:19
sv_vasja28-Dec-09 21:19 
GeneralRe: Database searching [Null Values] Pin
ProtoBytes29-Dec-09 3:27
ProtoBytes29-Dec-09 3:27 
GeneralRe: Database searching [Null Values] Pin
sv_vasja29-Dec-09 21:35
sv_vasja29-Dec-09 21:35 
GeneralRe: Database searching [Null Values] Pin
ProtoBytes30-Dec-09 3:30
ProtoBytes30-Dec-09 3:30 
QuestionOnline Update Issue! Pin
Sr...Frank27-Dec-09 23:54
Sr...Frank27-Dec-09 23:54 
AnswerRe: Online Update Issue! Pin
Sr...Frank28-Dec-09 4:53
Sr...Frank28-Dec-09 4:53 
QuestionRow should be bold in SSRS Pin
siddisagar27-Dec-09 20:27
siddisagar27-Dec-09 20:27 
AnswerRe: Row should be bold in SSRS Pin
sashidhar27-Dec-09 21:27
sashidhar27-Dec-09 21:27 
GeneralRe: Row should be bold in SSRS Pin
siddisagar27-Dec-09 23:58
siddisagar27-Dec-09 23:58 
GeneralRe: Row should be bold in SSRS Pin
sashidhar28-Dec-09 0:13
sashidhar28-Dec-09 0:13 
QuestionHow to check cookies are enable or disable in borwser Pin
Samarjeet Singh@india27-Dec-09 20:12
Samarjeet Singh@india27-Dec-09 20:12 

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.