Click here to Skip to main content
15,845,436 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Form minimum groups Pin
Brij28-Mar-10 3:55
mentorBrij28-Mar-10 3:55 
QuestionDynamic buttons ID retrieval Pin
greendragons28-Mar-10 2:11
greendragons28-Mar-10 2:11 
AnswerRe: Dynamic buttons ID retrieval Pin
Brij28-Mar-10 2:32
mentorBrij28-Mar-10 2:32 
AnswerRe: Dynamic buttons ID retrieval Pin
Sandeep Mewara28-Mar-10 2:46
mveSandeep Mewara28-Mar-10 2:46 
QuestionAdd javascript Function in MenuItem Click event Pin
Abdul Rahman Hamidy28-Mar-10 2:04
Abdul Rahman Hamidy28-Mar-10 2:04 
AnswerRe: Add javascript Function in MenuItem Click event Pin
Not Active28-Mar-10 2:42
mentorNot Active28-Mar-10 2:42 
AnswerRe: Add javascript Function in MenuItem Click event Pin
Sandeep Mewara28-Mar-10 3:00
mveSandeep Mewara28-Mar-10 3:00 
GeneralRe: Add javascript Function in MenuItem Click event Pin
Abdul Rahman Hamidy28-Mar-10 22:35
Abdul Rahman Hamidy28-Mar-10 22:35 
thx, I have used following to do it.
using (StringWriter sw = new StringWriter())
        {
            using (HtmlTextWriter htmlWriter = new HtmlTextWriter(sw))
            {
                using (HyperLink menuLink = new HyperLink())
                {
                    menuLink.NavigateUrl = item.NavigateUrl;
                    menuLink.Text = item.Text;
                    if (isEndNode)
                      menuLink.Attributes["onclick"] = "return displayControlName('" + item.Text + "','" + item.Parent.Text + "');";
                    else
                        menuLink.Attributes["onclick"] = "return msgOnly();";
                    menuLink.RenderControl(htmlWriter);
                    item.Text = sw.ToString();
                }
            }
        }

Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan

AnswerRe: Add javascript Function in MenuItem Click event Pin
MyDevBank31-Mar-10 13:31
MyDevBank31-Mar-10 13:31 
Questionimagebutton in placeholder Pin
kunjumonu28-Mar-10 0:29
kunjumonu28-Mar-10 0:29 
AnswerRe: imagebutton in placeholder Pin
Brij28-Mar-10 3:53
mentorBrij28-Mar-10 3:53 
GeneralRe: imagebutton in placeholder Pin
kunjumonu28-Mar-10 7:32
kunjumonu28-Mar-10 7:32 
Questiongetting data for no of records Pin
inayat basha27-Mar-10 11:16
inayat basha27-Mar-10 11:16 
AnswerRe: getting data for no of records Pin
PSK_27-Mar-10 19:50
PSK_27-Mar-10 19:50 
GeneralRe: getting data for no of records Pin
Brij28-Mar-10 0:08
mentorBrij28-Mar-10 0:08 
GeneralRe: getting data for no of records Pin
PSK_28-Mar-10 3:56
PSK_28-Mar-10 3:56 
GeneralRe: getting data for no of records Pin
Brij28-Mar-10 4:14
mentorBrij28-Mar-10 4:14 
QuestionFileupload problem, please help. Pin
Farraj27-Mar-10 9:35
Farraj27-Mar-10 9:35 
AnswerRe: Fileupload problem, please help. Pin
Sandeep Mewara27-Mar-10 10:02
mveSandeep Mewara27-Mar-10 10:02 
GeneralRe: Fileupload problem, please help. Pin
Farraj27-Mar-10 10:09
Farraj27-Mar-10 10:09 
AnswerRe: Fileupload problem, please help. Pin
Not Active27-Mar-10 10:12
mentorNot Active27-Mar-10 10:12 
AnswerRe: Fileupload problem, please help. Pin
Farraj27-Mar-10 10:18
Farraj27-Mar-10 10:18 
GeneralRe: Fileupload problem, please help. Pin
michaelschmitt29-Mar-10 0:48
michaelschmitt29-Mar-10 0:48 
GeneralRe: Fileupload problem, please help. Pin
Farraj29-Mar-10 3:05
Farraj29-Mar-10 3:05 
GeneralRe: Fileupload problem, please help. [modified] Pin
michaelschmitt29-Mar-10 4:35
michaelschmitt29-Mar-10 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.