Click here to Skip to main content
15,905,913 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: NEWBIE - Javascript only works in IE, not FF3.05 - Help! Pin
Ginozzzz12-Jan-09 7:31
Ginozzzz12-Jan-09 7:31 
QuestionExtended DynamicData Entity Pin
Adriaan Davel11-Jan-09 4:11
Adriaan Davel11-Jan-09 4:11 
AnswerRe: Extended DynamicData Entity Pin
Jon Rista12-Jan-09 6:58
Jon Rista12-Jan-09 6:58 
GeneralRe: Extended DynamicData Entity Pin
Adriaan Davel12-Jan-09 11:08
Adriaan Davel12-Jan-09 11:08 
QuestionJava Script Problem Pin
Anudeep Jaiswal - MCA9-Jan-09 20:28
Anudeep Jaiswal - MCA9-Jan-09 20:28 
AnswerRe: Java Script Problem : Please Ignore Pin
Abhijit Jana9-Jan-09 22:00
professionalAbhijit Jana9-Jan-09 22:00 
AnswerTHREE TIMES? .... Pin
leckey11-Jan-09 14:59
leckey11-Jan-09 14:59 
QuestionIE share SSL connection made by myself Pin
maoxintt9-Jan-09 16:49
maoxintt9-Jan-09 16:49 
Answer[Cross-Post ! IE share SSL connection made by myself] Pin
Garth J Lancaster9-Jan-09 18:31
professionalGarth J Lancaster9-Jan-09 18:31 
GeneralRe: [Cross-Post ! IE share SSL connection made by myself] Pin
maoxintt9-Jan-09 18:42
maoxintt9-Jan-09 18:42 
Questionhow to modify the html code before which loaded by browser? Pin
awayer9-Jan-09 13:36
awayer9-Jan-09 13:36 
QuestionRe: how to modify the html code before which loaded by browser? Pin
Shog99-Jan-09 13:59
sitebuilderShog99-Jan-09 13:59 
AnswerRe: how to modify the html code before which loaded by browser? Pin
JimmyRopes17-Jan-09 6:05
professionalJimmyRopes17-Jan-09 6:05 
QuestionAjax: Login via ModalPopupExtender issue Pin
Goalie359-Jan-09 11:00
Goalie359-Jan-09 11:00 
GeneralRe: Ajax: Login via ModalPopupExtender issue Pin
Shog99-Jan-09 14:00
sitebuilderShog99-Jan-09 14:00 
QuestionWeb Development Problem : Java Script Pin
Anudeep Jaiswal - MCA9-Jan-09 2:37
Anudeep Jaiswal - MCA9-Jan-09 2:37 
Hi all,
I have a problem in java script...
in asp.net i have a repeater.. in that repeater i have some controls and a dropdownlist.... i am showing message if user select 0 index...


function OnChangeDropDown( DropDown, DivError )
{
alert (DropDown);
alert (DivError);
var DivError1 = document.getElementById( DivError )
if ( DropDown.value == "0" )
{
DivError1.style.display = '';
DropDown.focus();
return false;
}
else
{
DivError1.style.display = 'none';
return false;
}
}

***********************
Repeater Code :


<asp:repeater id="repStudentPromotion" runat="server" xmlns:asp="#unknown">
<headertemplate>















Student Id

Student Name

Student Status

<asp:hiddenfield id="hf_sys_generated_id" runat="server" value="<%# Eval(" sys_generated_id=")%>">
]]>

]]>

<asp:dropdownlist id="ddlStatus" runat="server" onchange="return OnChangeDropDown(this,<%$ DivError.ClientID %> )">
<asp:listitem value="0"><-->
<asp:listitem value="1" selected="True">Promote To Next Semester
<asp:listitem value="2">Detained
<asp:listitem value="3">Compartment
<asp:listitem value="4">Provisionally Promoted


* Required

*********************************************************************
Calling Style in CS File:
foreach (RepeaterItem row in repStudentPromotion.Items)
{
DropDownList ddlStatus = (DropDownList)row.FindControl("ddlStatus");
HtmlGenericControl DivError = (HtmlGenericControl)row.FindControl("DivError");
ddlStatus.Attributes.Add("onchange", "return OnChangeDropDown(this,'" + DivError.ClientID + "')");
}

i want to add this attribute in aspx file as

onchange="return OnChangeDropDown(this,<%$ DivError.ClientID %> )"

*******************************************************************************

but there is a error in second parameter....

my question is how to pass controlID in javascript as a parameter instead of 'this'

waiting for reply...

Hope For The Best............Confused

anudeep jaiswal
09891599687
Noida - India

AnswerCROSS POST Pin
Not Active9-Jan-09 3:24
mentorNot Active9-Jan-09 3:24 
QuestionASP.NET 3.5 SP1 Server Side Viewstate Pin
L Viljoen8-Jan-09 23:13
professionalL Viljoen8-Jan-09 23:13 
GeneralRe: ASP.NET 3.5 SP1 Server Side Viewstate Pin
Shog99-Jan-09 14:01
sitebuilderShog99-Jan-09 14:01 
QuestionCrystal Report Print Icon does nothing Pin
Anoop Brijmohun8-Jan-09 21:58
Anoop Brijmohun8-Jan-09 21:58 
QuestionDynamic populator Pin
umaheshchandra8-Jan-09 4:37
umaheshchandra8-Jan-09 4:37 
QuestionHelp writing a SharePoint Sequential WorkFlow Pin
Jakob Farian Krarup8-Jan-09 0:04
Jakob Farian Krarup8-Jan-09 0:04 
QuestionDoes anyone know of any good Dreamweaver alternatives? [modified] Pin
Kenny McKee7-Jan-09 15:59
Kenny McKee7-Jan-09 15:59 
AnswerRe: Does anyone know of any good Dreamweaver alternatives? Pin
Aman Bhullar7-Jan-09 17:56
Aman Bhullar7-Jan-09 17:56 
GeneralRe: Does anyone know of any good Dreamweaver alternatives? Pin
Kenny McKee7-Jan-09 18:15
Kenny McKee7-Jan-09 18:15 

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.