1
Answer

Handling sub-folders Custom Site Map?

Jeremy

Jeremy

13y
1.9k
1
  I am attempting to make a Custom site map provider for the first time, but I am stuck on the sub folders. When I try to add my files and folders I am not sure how to build the path for the Directory Info as it drops down a level in the folders.
Example:
It starts out as ~Content  for the Root
~Content/folder   for the folder
~Content/folder/file for the file
but when I get to a sub folder(s) I am not sure how to append the path to something like this:
~Content/folder/folder/folder/file    as it loops through the sub-folders.

I appreciate any help as I am in over my head.
Answers (1)
0
Kirtan Patel

Kirtan Patel

NA 35k 2.8m 15y
its not recommended to change size in % it may not work on every controls becuase Asp.net standard control only can have width in pixels :)

you can manage the size and Look and Feel of controls by

CSS+ Skin File feature to control all page Style manage From one place   .


if my answer helps you please check "Do you like this answer" :)


0
Anand Uchagawkar

Anand Uchagawkar

NA 2 0 15y
Hey dude,

there is no an easy way so that u can just change the width of all controls to % you will have to manually go on each form & adjust the pixel value according to the corresponding % value. Also just ctrl + h won't help
0
Dipa Ahuja

Dipa Ahuja

NA 4.1k 612.6k 15y
hi..

i also use % in my website first.. then i changed to pixel

bt according to me the pixel setting is better and more flexible than %


0
Pankaj Singh

Pankaj Singh

NA 69 0 15y

Hi,

Have you tried it? Do you know waht is the mean of it?

All the controls will spread out.

Pankaj
0
Gaurish Kumar

Gaurish Kumar

NA 912 0 15y
Hi

U can use find and replace.

press ctrl + h

and replace px to %

it will replace all.