Click here to Skip to main content
15,926,467 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Very Urgent Pin
Carmine_XX7-Mar-07 10:12
Carmine_XX7-Mar-07 10:12 
QuestionTag Values Pin
N a v a n e e t h6-Mar-07 22:01
N a v a n e e t h6-Mar-07 22:01 
AnswerRe: Tag Values Pin
Guffa6-Mar-07 23:35
Guffa6-Mar-07 23:35 
GeneralRe: Tag Values Pin
N a v a n e e t h6-Mar-07 23:46
N a v a n e e t h6-Mar-07 23:46 
AnswerRe: Tag Values Pin
Guffa7-Mar-07 4:12
Guffa7-Mar-07 4:12 
QuestionSending and receiving a byte array to an IP address Pin
Rey99996-Mar-07 21:29
Rey99996-Mar-07 21:29 
QuestionAdding smilies to a radiobuttonlist in a datagrid Pin
nclauder6-Mar-07 21:02
nclauder6-Mar-07 21:02 
AnswerRe: Adding smilies to a radiobuttonlist in a datagrid Pin
Harini N K6-Mar-07 21:44
Harini N K6-Mar-07 21:44 
Hi,

Add two images in your web application.

Add an html Img tag in your .aspx.

<img runat="server" id="ImageSmile" />


Make it invisible using javascript function as given below:

document.getElementById('ImageSmile').style.visibility = "hidden";


Add the foll. line in the code-behind file as

RadioButtonList1.Attributes.Add("OnClick", "return ChangeSmile();");


and add a javascript function:

function ChangeSmile()
{
    if (document.getElementById('RadioButtonList1_0').checked == true)
    {        
        document.getElementById('ImageSmile').style.visibility = "visible";
        document.getElementById('ImageSmile').src = "images/smiley_smile.gif";
    }
    else
    {
        document.getElementById('ImageSmile').style.visibility = "visible";
        document.getElementById('ImageSmile').src = "images/smiley_frown.gif";
    }
}


P.S.: Change the path of your images.


Rate this message. Thank you. Harini Smile | :)

GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
nclauder6-Mar-07 22:15
nclauder6-Mar-07 22:15 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
Harini N K6-Mar-07 22:22
Harini N K6-Mar-07 22:22 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
nclauder6-Mar-07 23:02
nclauder6-Mar-07 23:02 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
Harini N K6-Mar-07 23:29
Harini N K6-Mar-07 23:29 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
nclauder7-Mar-07 0:07
nclauder7-Mar-07 0:07 
GeneralRe: Adding smilies to a radiobuttonlist in a datagrid Pin
Harini N K7-Mar-07 18:57
Harini N K7-Mar-07 18:57 
Questioni urgently need temples for asp based intranet designing Pin
deansys6-Mar-07 21:01
deansys6-Mar-07 21:01 
AnswerRe: i urgently need temples for asp based intranet designing Pin
badgrs6-Mar-07 23:00
badgrs6-Mar-07 23:00 
Questionplease urgently help me with the log on process Pin
deansys6-Mar-07 20:52
deansys6-Mar-07 20:52 
AnswerRe: please urgently help me with the log on process Pin
Naveed Kamboh7-Mar-07 4:51
Naveed Kamboh7-Mar-07 4:51 
QuestionImplement a Custom Membership User Pin
AnhTin6-Mar-07 20:37
AnhTin6-Mar-07 20:37 
AnswerRe: Implement a Custom Membership User Pin
badgrs6-Mar-07 22:59
badgrs6-Mar-07 22:59 
Questioni want open new Content page on the click of gridview row. Pin
Piyush Vardhan Singh6-Mar-07 20:21
Piyush Vardhan Singh6-Mar-07 20:21 
AnswerRe: i want open new Content page on the click of gridview row. Pin
Naveed Kamboh7-Mar-07 1:21
Naveed Kamboh7-Mar-07 1:21 
Questionfile upload problem Pin
kuwl_mark6-Mar-07 19:56
kuwl_mark6-Mar-07 19:56 
AnswerRe: file upload problem Pin
Sandeep Akhare6-Mar-07 20:18
Sandeep Akhare6-Mar-07 20:18 
QuestionLink button problem in dot net nuke Pin
kamlesh sharma6-Mar-07 19:46
kamlesh sharma6-Mar-07 19:46 

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.