Rank: Advanced Member Groups: Member
Joined: 1/9/2009 Posts: 97
|
How do i set the LeftIcon Image to the one in the DLL
the hml of the Slidemenu has a LeftIconURL of "00000505" but when i try form the C# code behind page using
menuitem.LeftIcon.url = "00000505" it doesnt work
How do i like to the images in the DLL?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe your code is correct. So the problem might be somewhere else. There is no real difference as to whether you set the property in .aspx or from code. ASP.NET compiler always translates .aspx to code first and then compile the code. So in theory everything is set by code. The only thing you want to make sure is to set it early enough (before PreRender).
Thanks
|