0

i am using Obout combobox, its styles folder is one directory up, when i give its path in FolderStyle, its detected by Visual Studio and the combobox with new style appears, but when i run it on browser, it gives the error Cannot use a leading .. to exit above the top directory.

Please let me know how to resolve this issue.

Muhammad Atif Agha
  • 1,535
  • 3
  • 33
  • 74

2 Answers2

3

For referncing style sheet or javascript files you can do something like this

../Styles     to go one step back and find Styles folder
../../Styles  to go two step back and find Styles folder
Fraz Sundal
  • 10,288
  • 22
  • 81
  • 132
1

The best solution would be to use the ~ character:
< obout:ComboBox runat="server" ID="ComboBox1" FolderStyle="~/ComboBox/styles/black_glass" />

Chris
  • 31
  • 1