Click here to Skip to main content
15,924,039 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralIssue with accessing Objects Pin
mpavas10-Dec-07 0:16
mpavas10-Dec-07 0:16 
GeneralRe: Issue with accessing Objects Pin
N a v a n e e t h10-Dec-07 0:20
N a v a n e e t h10-Dec-07 0:20 
GeneralRe: Issue with accessing Objects Pin
mpavas10-Dec-07 1:00
mpavas10-Dec-07 1:00 
GeneralRe: Issue with accessing Objects Pin
mpavas10-Dec-07 1:05
mpavas10-Dec-07 1:05 
GeneralRe: Issue with accessing Objects Pin
N a v a n e e t h10-Dec-07 1:11
N a v a n e e t h10-Dec-07 1:11 
GeneralRe: Issue with accessing Objects Pin
mpavas10-Dec-07 2:07
mpavas10-Dec-07 2:07 
GeneralRe: Issue with accessing Objects Pin
N a v a n e e t h10-Dec-07 2:11
N a v a n e e t h10-Dec-07 2:11 
GeneralRe: Issue with accessing Objects Pin
Sun Rays10-Dec-07 1:12
Sun Rays10-Dec-07 1:12 
mpavas wrote:
function makeVisible()
{
var dtfromlabel = document.getElementById('<% =DateFromLabel.ClientID %>');
dtfromlabel.style.visibility='visible';
}


Hi if you are using above function then cant call like below code.
mpavas wrote:
DateFromToCombo.Attributes.Add("onChange"," makeVisible('<%=DateFromLabel.ClientID%>')");



change it,
Var ControlID;
function makeVisible(ControlID)<br />
{<br />
var dtfromlabel = document.getElementById(ControlID);<br />
dtfromlabel.style.visibility='visible';<br />
}<br />


But why u r passing ID ? as you can get that id from your function.
R u not getting ID there?

Thanks,
Sun Rays

To get something you must have to try once.


My Articles

GeneralI am trying to display data in list box with multi column in asp.net . Can it possible in asp.net Pin
Piyush Vardhan Singh9-Dec-07 23:45
Piyush Vardhan Singh9-Dec-07 23:45 
GeneralDouble post - Please ignore Pin
N a v a n e e t h10-Dec-07 0:18
N a v a n e e t h10-Dec-07 0:18 
QuestionValidation Application block error. Pin
HishamAlsayed9-Dec-07 23:41
HishamAlsayed9-Dec-07 23:41 
Generalunable to open file in new window using hyper link(physical path) Pin
kinnuP9-Dec-07 23:13
kinnuP9-Dec-07 23:13 
GeneralRe: unable to open file in new window using hyper link(physical path) Pin
Sun Rays10-Dec-07 1:02
Sun Rays10-Dec-07 1:02 
GeneralRe: unable to open file in new window using hyper link(physical path) Pin
kinnuP10-Dec-07 3:00
kinnuP10-Dec-07 3:00 
GeneralReport Items tab in toolbar missing... [modified] Pin
zareee9-Dec-07 23:04
zareee9-Dec-07 23:04 
Generalzip download with aspx Pin
gottimukkala9-Dec-07 23:02
gottimukkala9-Dec-07 23:02 
Generaltreeview control Pin
RajeevKumarSharma9-Dec-07 22:39
RajeevKumarSharma9-Dec-07 22:39 
GeneralRe: treeview control Pin
Michael Sync10-Dec-07 1:18
Michael Sync10-Dec-07 1:18 
GeneralRe: treeview control Pin
Sun Rays10-Dec-07 1:36
Sun Rays10-Dec-07 1:36 
Generalexcel Pin
niki_nilu9-Dec-07 22:26
niki_nilu9-Dec-07 22:26 
GeneralRe: excel Pin
Christian Graus9-Dec-07 22:49
protectorChristian Graus9-Dec-07 22:49 
GeneralRe: excel Pin
niki_nilu9-Dec-07 23:00
niki_nilu9-Dec-07 23:00 
GeneralRe: excel [modified] Pin
Prateek G9-Dec-07 22:59
Prateek G9-Dec-07 22:59 
Generalasp.net webpage fails to load a C# windows control in it Pin
Naveen Gowda9-Dec-07 22:08
Naveen Gowda9-Dec-07 22:08 
GeneralCross post. Please ignore Pin
Pete O'Hanlon10-Dec-07 0:04
mvePete O'Hanlon10-Dec-07 0:04 

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.