Click here to Skip to main content
15,912,069 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Reading and Writing File using Class Library Pin
Anurag Gandhi18-Feb-09 1:47
professionalAnurag Gandhi18-Feb-09 1:47 
GeneralRe: Reading and Writing File using Class Library Pin
Ashfield18-Feb-09 8:43
Ashfield18-Feb-09 8:43 
GeneralRe: Reading and Writing File using Class Library Pin
Anurag Gandhi18-Feb-09 19:49
professionalAnurag Gandhi18-Feb-09 19:49 
GeneralRe: Reading and Writing File using Class Library Pin
Ashfield18-Feb-09 20:16
Ashfield18-Feb-09 20:16 
QuestionDecimal to Exponential conversion -Kindly Help me Pin
SnaKeBeD17-Feb-09 22:35
SnaKeBeD17-Feb-09 22:35 
QuestionJQuery with asp.net Pin
Member 398136617-Feb-09 22:14
Member 398136617-Feb-09 22:14 
QuestionError Pin
nithydurai17-Feb-09 21:57
nithydurai17-Feb-09 21:57 
QuestionHelp required in ASP.net treeview Pin
Member 350019817-Feb-09 21:55
Member 350019817-Feb-09 21:55 
I have got stuck up with ASP.Net tree view.



Business requirement



There are parent type nodes called category (folders for example).
Child node can be category (folders) or factor (files for example) in business term. Factor cannot have child. In the sense a leaf node can be category or factor. The requirement is of different image on expand collapse of nodes for category and for leaf node which are factor they want third image, if lead node is a category then they want image that is same as expanded category.





Problem and scenario



I did some property settings to bring these images as per requirement. But the problem came in picture when I tried to add image through code for leaf nodes. The leaf node are getting indenting compared to their siblings. They are starting from other nodes text starting point ,that is the reason they are getting indented. I could not include NoExpandimageURL property for leaf node because my leaf nodes are of two types and have different images for each type. Is there any way to make this proper align?



Code written for tree view generation.



(Source file)



<asp:TreeView ID="tvwCategories" ExpandDepth="2" runat="server" CollapseImageUrl="../../_LAYOUTS/IMAGES/category.gif"

ExpandImageUrl="../../_LAYOUTS/IMAGES/CatCollap.gif" NodeIndent="15" Width="209px" BorderColor="Transparent" BorderStyle="None"

OnSelectedNodeChanged="tvwCategories_SelectedNodeChanged" NodeStyle-HorizontalPadding="5" NodeStyle-VerticalPadding="0">



Frown | :(

hemant basvapattan

QuestionHelp required in ExcelDriver Part in ASP Pin
priyaahh17-Feb-09 21:34
priyaahh17-Feb-09 21:34 
Questionerror while trying to publish my web application Pin
Mansour Shaaban17-Feb-09 21:32
Mansour Shaaban17-Feb-09 21:32 
AnswerRe: error while trying to publish my web application Pin
Vimalsoft(Pty) Ltd17-Feb-09 21:42
professionalVimalsoft(Pty) Ltd17-Feb-09 21:42 
Questiondate time picker.. problem Pin
anujbanka178417-Feb-09 21:19
anujbanka178417-Feb-09 21:19 
AnswerRe: date time picker.. problem Pin
mr_muskurahat17-Feb-09 22:23
mr_muskurahat17-Feb-09 22:23 
QuestionASP.NET File Download Pin
kraven00117-Feb-09 21:07
kraven00117-Feb-09 21:07 
AnswerRe: ASP.NET File Download Pin
N a v a n e e t h17-Feb-09 21:57
N a v a n e e t h17-Feb-09 21:57 
GeneralRe: ASP.NET File Download Pin
kraven00117-Feb-09 22:10
kraven00117-Feb-09 22:10 
QuestionHELP !!! Radio button font size change Pin
Docarctiss17-Feb-09 20:59
Docarctiss17-Feb-09 20:59 
AnswerRe: HELP !!! Radio button font size change Pin
Anurag Gandhi17-Feb-09 23:02
professionalAnurag Gandhi17-Feb-09 23:02 
QuestionHow Store video and picture file using sql2000 with a unique user Pin
ali2k617-Feb-09 20:33
ali2k617-Feb-09 20:33 
Questionhow to filter distinct row from DataView Pin
krishnaveer17-Feb-09 20:32
krishnaveer17-Feb-09 20:32 
AnswerRe: how to filter distinct row from DataView Pin
Abhishek Sur17-Feb-09 20:42
professionalAbhishek Sur17-Feb-09 20:42 
AnswerRe: how to filter distinct row from DataView Pin
Satish Mahapatra17-Feb-09 20:42
Satish Mahapatra17-Feb-09 20:42 
GeneralRe: how to filter distinct row from DataView Pin
krishnaveer17-Feb-09 20:47
krishnaveer17-Feb-09 20:47 
AnswerRe: how to filter distinct row from DataView Pin
N a v a n e e t h17-Feb-09 21:53
N a v a n e e t h17-Feb-09 21:53 
QuestionThe Application relative Virtual path '~' is not allowed here Pin
Vimalsoft(Pty) Ltd17-Feb-09 20:15
professionalVimalsoft(Pty) Ltd17-Feb-09 20:15 

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.