|
Dear Anand..
I got the following errors in the error console..Can u suggest me how to overcome the following errors..?
Error: removetoolbar is not defined
-------------------------------------------
Error: document.getElementById("txtErrorMsg") has no properties
Error prone line: document.getElementById("txtErrorMsg").value="Enter all the Bets..!"
------------------------------------------------------------
Error: document.theTimer is not a function
Error prone line: if (document.theTimer(value2).value.length == 1)
---------------------------------------------------------
Error: document.getElementById("txtErrorMsg") has no properties
Error prone line: document.getElementById("txtErrorMsg").value="Enter atleast 2 Bets..!"
----------------------------------------------------------
Error: document.theTimer is not a function
Error prone line: if(document.theTimer(cardval).value.length>0)
------------------------------------------------------------
Error: document.theTimer is not a function
Error prone line: if(document.theTimer(cardval).value.length>0)
---------------------------------------------------------
Error: document.getElementById("txtErrorMsg") has no properties
Error prone line: document.getElementById("txtErrorMsg").value="Wait Processing.."
-----------------------------------------------------------
Error: document.getElementById("txtHidden") has no properties
Error prone line: document.getElementById("txtHidden").value = getDetail
----------------------------------------------------------
Error: document.theTimer is not a function
Error prone line: if (document.theTimer(value2).value.length == 1)
-------------------------------------------
Error: document.theTimer is not a function
Error prone line: if(document.theTimer(cardval).value.length>0)
-------------------------------------------------------
Error: document.getElementById("txtBets") has no properties
Error prone line: if ((document.getElementById("txtBets").value == ''))
=================================
Error: clear1 is not defined
Source File: http://194.9.30.171/bigstar/Lucky3.aspx?sel=2
Line: 1
=================================
Error: document.theTimer is not a function
Error prone line: if(document.theTimer(value1).value.length>0)
-----------------------------------------------------------
Error: ddate has no properties
Error prone line: var drawdate=ddate.options[ddate.selectedIndex].value;
Kindly reply as early as possible..
Regards,
Balaguru
|
|
|
|
|
Hi Balaguru,
It clearly says document.getElementById("txtBets") has no properties.
please try to check alert(document.getElementById("txtBets")); if it returns null then check for the Id that you provided, if it returns any object then try to find the properties available for the object type.
Regards,
Srinivas
|
|
|
|
|
Dear Anand..
How to reuturn object and find the properties for the object type..?
Can u please elaborate...?
Regards,
Balaguru
|
|
|
|
|
hey,
Did you get the element as object? then you shouldn't have got the error 'has not properties'. just try to print the type of the element (alert(xxx.type);).
i don't have the idea of how to print the properties using javascript. but i suggest to randomly try the expected properties of that kind of object.
Regards,
Srinivas
|
|
|
|
|
Hi Anand..
I tried what you had said..
Error: document.getElementById("txtErrorMsg") has no properties
Error prone line: document.getElementById("txtErrorMsg").value="Enter all the Bets..!"
for the above error i used alert and got an object and by using another alert i got the object type as text.How to proceed further..?
Regards,
Balaguru
|
|
|
|
|
Hi Anand ..
I used the following code to get the property of the object..
alert(document.getElementById("txtErrormsg").property)
I am getting undefined in my alert..
Note:
Basically i use
document.getElementById("txtErrormsg").value = "Loading.." just to bind the text "loading" to my textbox control..
Regards,
Balaguru
|
|
|
|
|
Dear All,
Is there a way to dynamically change the style sheet of a page but on the client side by javascript.
I know you can do this with javascript but the problem is how to link it with a button in asp.net.
Thanks for your help,
Chris
|
|
|
|
|
ChrisFarrugia wrote: is how to link it with a button in asp.net.
You can use this.style.color='#fffff' with any javascript event handlers. or use
var obj =document.getElemntById("YourButtonId");
obj.ClassName = "New ClassName";
|
|
|
|
|
Hi,
I have a table web control whose rows are generating dynamically and I am adding dropdownlist to each row dynamically.
Now I want to traverse through each row of the table web control, how can I do that.
Thanks & Regards
Mishra
|
|
|
|
|
Ballita wrote: Now I want to traverse through each row of the table web control, how can I do that.
Using a for or foreach loop ?
|
|
|
|
|
I need some help. How can I create dynamic Server Controls for ASP.NET 2.0 using SQL 2005. Meaning the page must be dynamically build using data from SQL...
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
Illegal Operation wrote: How can I create dynamic Server Controls for ASP.NET 2.0 using SQL 2005
This doesn't make any sense. If you are familiar with creating custom server controls, then what is the specialty on creating controls that serves dynamic content ?
|
|
|
|
|
This is a situation where I need to load a group of user controls programmatically at runtime because the number of controls required is unknown at design time.
Basically what needs to happen is the aspx page needs to load the controls needed for a specific selection made in connection with SQL.
In other words:
You have a question in SQL, Question 1 and this question has three options by way of Radio Buttons. If question 1 is asked, the aspx page needs to dynamically create the form with the three radio buttons.
Hope this gives you a better idea of what I need to do. I think I will need to use a repeater in aspx.
Thanks!!
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
Illegal Operation wrote: I think I will need to use a repeater in aspx.
Yes that could be a good solution rather than custom server controls. But if you want ASP.NET to keep your repeater dynamically created control's state, make sure that you are creating it before viewstate's are loaded. Ideal place for dynamic controls would be Init() event.
|
|
|
|
|
Thanks
I am going to try it and let you know if it works...
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
I published the website after then on the same machine(for local host browsing puposes) i tried to create the virtual directory of the same.after creating the virtual directory , i ws browsing the directory in IIS.there while browsing the directory , i got the following error.
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Soniagupta1@yahoo.co.in
|
|
|
|
|
Reset your IIS:
Got start->run
iisreset
execute above said command
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
still same problem
Soniagupta1@yahoo.co.in
|
|
|
|
|
Please make sure the set application vesion (.Net 1.1 or 2.0) for vitual directory.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
it is 2.0.50727
Soniagupta1@yahoo.co.in
|
|
|
|
|
yes
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
yes the problem status is same.
Soniagupta1@yahoo.co.in
|
|
|
|
|
Go to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 in a command prompt and run the command aspnet_regiis.exe -i
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
i have done it.stills same problem lying,
Soniagupta1@yahoo.co.in
|
|
|
|
|
IE->Tools->Internet Options->security Tab->select trusted site->click on site button->unchecked : Require server varication (htts)...
If still your problem exist then go to Google. Because don't have more.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|