Click here to Skip to main content
15,923,376 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionasp Pin
logu0709-Jan-09 4:22
logu0709-Jan-09 4:22 
AnswerRe: asp Pin
Aman Bhullar9-Jan-09 4:52
Aman Bhullar9-Jan-09 4:52 
AnswerRe: asp Pin
NeverHeardOfMe9-Jan-09 4:55
NeverHeardOfMe9-Jan-09 4:55 
GeneralRe: asp Pin
Abhijit Jana10-Jan-09 1:25
professionalAbhijit Jana10-Jan-09 1:25 
AnswerRe: asp Pin
J4amieC9-Jan-09 5:36
J4amieC9-Jan-09 5:36 
AnswerRe: asp Pin
Christian Graus9-Jan-09 7:44
protectorChristian Graus9-Jan-09 7:44 
QuestionCould not find stored procedure 'dbo.aspnet_CheckSchemaVersion' ERROR Pin
AprNgp9-Jan-09 3:24
AprNgp9-Jan-09 3:24 
AnswerRe: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion' ERROR Pin
Abhijit Jana9-Jan-09 3:53
professionalAbhijit Jana9-Jan-09 3:53 
GeneralRe: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion' ERROR Pin
AprNgp9-Jan-09 3:56
AprNgp9-Jan-09 3:56 
GeneralRe: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion' ERROR Pin
Abhijit Jana9-Jan-09 4:19
professionalAbhijit Jana9-Jan-09 4:19 
GeneralRe: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion' ERROR Pin
AprNgp9-Jan-09 4:22
AprNgp9-Jan-09 4:22 
QuestionI am not getting the login name of sender in my database profiler Pin
naveeen_kumar9-Jan-09 2:42
naveeen_kumar9-Jan-09 2:42 
QuestionFiles Not found error when running on web Application Pin
omlac9-Jan-09 2:38
omlac9-Jan-09 2:38 
AnswerRe: Files Not found error when running on web Application Pin
Colin Angus Mackay9-Jan-09 2:44
Colin Angus Mackay9-Jan-09 2:44 
AnswerRe: Files Not found error when running on web Application Pin
omlac9-Jan-09 3:32
omlac9-Jan-09 3:32 
QuestionJava Script Problem Pin
Anudeep Jaiswal - MCA9-Jan-09 2:10
Anudeep Jaiswal - MCA9-Jan-09 2:10 
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>

<itemtemplate>


Student Id
Student Name
Student Status
<asp:hiddenfield id="hf_sys_generated_id" runat="server" value="<%# Eval(" sys_generated_id")%&gt;"="">
<%# Eval("student_id")%>
<%# Eval("Student_name")%>
<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 | :confused:

anudeep jaiswal
09891599687
Noida - India
AnswerRe: Java Script Problem Pin
Not Active9-Jan-09 3:19
mentorNot Active9-Jan-09 3:19 
GeneralRe: Java Script Problem Pin
Anudeep Jaiswal - MCA9-Jan-09 18:47
Anudeep Jaiswal - MCA9-Jan-09 18:47 
QuestionDrag and Drop image Pin
madancode9-Jan-09 1:43
madancode9-Jan-09 1:43 
AnswerRe: Drag and Drop image Pin
AprNgp9-Jan-09 3:26
AprNgp9-Jan-09 3:26 
AnswerRe: Drag and Drop image Pin
Abhijit Jana9-Jan-09 3:58
professionalAbhijit Jana9-Jan-09 3:58 
Questionhow can i use ajax in asp.net 1.X Pin
ahmedhassan969-Jan-09 1:33
ahmedhassan969-Jan-09 1:33 
AnswerRe: how can i use ajax in asp.net 1.X Pin
ToddHileHoffer9-Jan-09 2:06
ToddHileHoffer9-Jan-09 2:06 
AnswerRe: how can i use ajax in asp.net 1.X Pin
Srdjan 32071729-Jan-09 4:50
Srdjan 32071729-Jan-09 4:50 
GeneralRe: how can i use ajax in asp.net 1.X Pin
ahmedhassan969-Jan-09 8:20
ahmedhassan969-Jan-09 8:20 

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.