|
hi all,
how to make visible true/false of a server control by using javascript. plz any one help me its urgent.
Pradeep Reddy
|
|
|
|
|
pradeep kumarappagari wrote: plz any one help me its urgent.
Isn't it always ?
You can't, at least not if you set visible to false. In this case, it won't even be rendered. Set the style to display:none for invisible and display inline ( or block, or even empty string ) to show it, but you must have visible set to true, or it won't go to the client at all.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
document.getElementById("Id of the Control").Property = Value
It can be enabled or visible property
Gautham
|
|
|
|
|
document.getElementById("controlID").style.visibility = 'visible'
document.getElementById("controlID").style.visibility = 'hidden'
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
thank u
Pradeep Reddy
|
|
|
|
|
Hi!
I need to control the users running one asp application. The application can run only by one user at a time. I'm thinking ASP.NET application that user gomes and the application informs that there is 2 or 3 in line to run the asp application. Then the user can add it's own info to run on that asp application. What is good idea to do this?
I'm bit horry about this! Thanks!
|
|
|
|
|
I'd recommend writing your app properly so it can run with multiple users. Why would you need to limit it ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
The asp application is old and it makes pdf book from diffrent pdf files. And the asp application is not working properly when many users are buildin the pdf book at the sametime. The asp is so big that I dont want to write it all over in asp.net. The reason to the crass is not sorten because, waiting for sometime and trying to build it agen it build it correctly.
|
|
|
|
|
Hi,
I checked out a couple of articles on customising the login control, and for the username and password controls they use a ValidationGroup="Login1". Does it have to be Login1, or can I name the value of this property to anything I want?
The reason why I ask is because I have to set the username and password control IDs to UserName and Password respectively.
ma se
|
|
|
|
|
Hello all
Is there any way to change the textbox value in fileupload control dynamically through asp.net
Thanks
|
|
|
|
|
At what point do you want to change the text, and why ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
below is the value assigned to the href property of Anchor Tag in the Design mode.
href="ToolDescription.aspx?ToolId='<%#Eval("ToolID")%>'"
Here, I am passing the value ToolId to the next page using URL. Also ToolID is the Column name in my Dataset.
Error message: The server tag is not well formed.
How can I solve it in Design mode itself?
Regards,
Jay
|
|
|
|
|
Did you include runat="sever" ?
|
|
|
|
|
Yes Colin,
Beolw is the complete tag,
<a id="lnkToolDetails" href="ToolDescription.aspx?ToolID='<%#Eval('ToolID')%>'" runat=server><%#Eval("ToolFullName")%></a>
Regards,
Jay
|
|
|
|
|
This might work:
id="lnkToolDetails" href="ToolDescription.aspx?ToolID=<%#Eval('ToolID')%>" runat=server><%#Eval("ToolFullName")%>
or
id="lnkToolDetails" href='ToolDescription.aspx?ToolID=<%#Eval("ToolID")%>' runat=server><%#Eval("ToolFullName")%>
|
|
|
|
|
Hi,
I have already tried both, but no result. It wont give any syntax error. But it wont pass the right value in URL.
Regards,
Jay
|
|
|
|
|
You should probably add a new coulmn in your dataset, that contains the hole
path.
Couse the nesting of " and ' you have got, won't work.
Hope it helps
Thomas
|
|
|
|
|
href='<%# ToolDescription.aspx?ToolId= + Eval("ToolID") %>'
Try out
Gautham
|
|
|
|
|
gauthee wrote: href='<%# ToolDescription.aspx?ToolId= + Eval("ToolID") %>'
I made a small change. It works fine. Thanks Gautham.
href='<%# "ToolDescription.aspx?ToolId=" + Eval("ToolID") %>'
Regards,
Jay
|
|
|
|
|
Hi All
I have read GridView control in MSDN but didn't understand properly as i want to explore Paging,sorting,Edit/Update and deleting functionality of it ..
But i am unable to find any article or Document which clearly mention which event we have to implement for performing specific task .
Can any one help me out
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
sandeep,
there is a site - gridviewguys, that might help you i guess
Gautham
|
|
|
|
|
Hi all
Can anybody tell be how to get the culture info for all the languages .
Regards
Krishna Kumar
Kk
|
|
|
|
|
Hi IIS Gurus,
Please explain me the cause of below errors which logged into my eventviewer.
1. Inetinfo terminated unexpectedly and the system was not configured to restart IIS Admin. The World Wide Web Publishing Service has shut down.
2. Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
3. A process serving application pool 'DefaultAppPool' terminated unexpectedly. The process id was '2648'. The process exit code was '0xffffffff'.
4. A worker process with pid '240' that serves application pool 'DefaultAppPool' has been determined to be unhealthy (see previous event log message), but because a debugger is attached to it, the World Wide Web Publishing Service will ignore the error.
5. Cannot register the URL prefix 'http://*:80/' for site '125470340'. The necessary network binding may already be in use. The site has been deactivated. The data field contains the error number.
6. Application pool 'DefaultAppPool' exceeded its job limit settings.
7. A process serving application pool 'DefaultAppPool' failed to respond to a ping. The process id was '2360'.
8. A worker process with process id of '2712' serving application pool 'DefaultAppPool' has requested a recycle because the worker process reached its allowed processing time limit.
9. A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '864'.
10. A process serving application pool 'DefaultAppPool' failed to respond to a ping. The process id was '2928'.
11. A process serving application pool 'DefaultAppPool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '3992'. The data field contains the error number.
12. A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '2276'.
13. One of the IP/Port combinations for site '1399649786' has already be configured to be used by another site. The other site's SSL configuration will be used.
14. A worker process with process id of '2592' serving application pool 'DefaultAppPool' has requested a recycle because the worker process reached its allowed processing time limit.
Thanks in advance.
Srini
Srinu
|
|
|
|
|
(1)The World Wide Web Publishing Service's Inetinfo.exe process monitor encountered an error and has shut down. This condition prevents the World Wide Web Publishing Service from detecting an unexpected termination of the Inetinfo.exe process and, therefore, may not detect changes to the metabase as expected. It is recommended that you restart the World Wide Web Publishing Service.
(2)This is probably a permission issue with the Network Service account, since
your pages work under the Local System account. Check to make sure NT
Authority\Network Serivice is a member of the IIS_WPG group.
Regards,
Satips.
|
|
|
|
|
Thanks Satips for ur valueable reply.
As u said in 2nd one i checked and found that NT
Authority\Network Serivice is a member of the IIS_WPG group. Any other reason why this happen??
Regards
Srini
Srinu
|
|
|
|