force a link to draw text instead of icon

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
kirondedshem
User
Posts: 642

force a link to draw text instead of icon

Post by kirondedshem »

I want to force a button link to draw its text instead of and icon

while i phpmaker i can put

// Page Load event
function Page_Load() {
//force add button to use text instead of icon by removing the icon class
Language()->SetPhraseClass("editlink","");

//change add caption to whatever you want
Language()->SetPhrase("editlink","My Add Caption");
}

BUT If i do the same in ASP.NET maker below it does not work, ie it still trys to draw the icon ad hence comes up emtpty

// Page Load event
public void Page_Load() {
//Log("Page Load");

//change text on edit button
Language.SetPhrase("editlink", "Approve / Reject");
   //force add button to use text instead of icon by removing the icon class
Language.SetPhraseClass("editlink", "");

}

So how can i achieve it, coz i have alot more button phrases i want to apply his approach on like addlink, delete link view link etc etc


Webmaster
User
Posts: 9427

Post by Webmaster »

Try:

Language.SetPhraseClass("editlink", null);


kirondedshem
User
Posts: 642

Post by kirondedshem »

thanks it works


Post Reply