Welcome Guest Search | Active Topics | Sign In | Register

Setting Menu Icon from Code Behinf Options
Loren Dorez
Posted: Thursday, November 19, 2009 1:50:28 PM
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?
eo_support
Posted: Thursday, November 19, 2009 2:28:16 PM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.