|
yogita charhate wrote: I don't want to display Popup using javascript but using c#.
It means the code to display popup I'm using will run on server side not on client side.
You can't do that. A popup has to be opened on the client side.
yogita charhate wrote: But when there is postback all the disabled (that I made using javascript on clientclick event of the same button ) controls become enabled.
That's because a new page is loaded. The controls that you did disable doesn't exist any more. If you want any controls in the new page to be disabled, you have to disable them.
---
single minded; short sighted; long gone;
|
|
|
|
|
thank you Guffa for reply.
My problem is solved by calling the function (to disable controls) on pageload .
But before calling that function I checked one flag's value which is set on server side when buttonclick event occure and some conditionds are fulfilled.
have a nice day!!
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
i want to display an empty row in which in datatable i have added empty strings. Now i have a command field in which there is imagebutton . how to
hide that.
|
|
|
|
|
u can use visibility=false of that command field.
Bytheway I didn't understand y do u want to hide it.
Bajrang Singh
Using .net 2.0 (VS2005)
|
|
|
|
|
Hi
My requirement is as follows.
I have a web app which is deployed at the head quarters. My clients are branch offices. My database too is deployed centrally. The branch offices are having separate databases deployed at branch offices. When the end user do a transaction using the centrally deployed web app, I want to store the transaction in the local server also. Is this possible by using an activeX control in the web app or Is there any other better solution?
Thanks in advance
wilson
|
|
|
|
|
Hi,
I'm searching for a good web reporting tool, a tool which provide dynamic object access at runtime, master detail, grouping, cross tabs, and all the features of the crystal reports ... but not the crystal report because its license is very expensive, and not the sql server reporting service because I want it to work with any datasource like Access, MySql and Sql server of course ... can anyone helps me in this??
Thank you in advance
bye
Mahmoud Tahoon
|
|
|
|
|
i want the user to enter the amount ie in rupees like 49.60 .
I want to have the regular expression for this in regualar expression validators .Cn anyone send me the expression.
thanks
|
|
|
|
|
\d+\.\d{2}
---
single minded; short sighted; long gone;
|
|
|
|
|
thanks .but sorry to add it that it can be numeric too
for example 23 rs
or 23.80 rs .
if you can pls club this too.
|
|
|
|
|
Make the decimal part optional:
\d+(\.\d{2})?
---
single minded; short sighted; long gone;
|
|
|
|
|
|
How do you use it, and exactly what do you enter in the field?
---
single minded; short sighted; long gone;
|
|
|
|
|
when i enter integer like 23 it displays error.
|
|
|
|
|
Guffa wrote: How do you use it
---
single minded; short sighted; long gone;
|
|
|
|
|
hi RITU,
have you ever try out this,
\d\d\.\d{2}
regards,
koolprasad2003
Be A Good S/W Eng... Life is swing with you..Enjoy..
|
|
|
|
|
no not working i need numeric or decimal together. your expreesion is not giving even decimal .
|
|
|
|
|
|
Hi
Guys i have two drop down lists on web page, on the basis of selectione made on first dropdownlist , second drop down list will be populted from Data base ,i want to do with out post back, any one has idea how to do it, please proovide me any code sample, reply ASAP , thankx in advance.
|
|
|
|
|
|
Hi,
I saved images in the data table that bind to the repeater.
I want to change the design the of the data table i.e.
serires of images are generated. one image and then after some space or td and then next image.
also images are displayed at the center.
Thanks,
|
|
|
|
|
Just edit the template of the repeater.
(This answer seems so very obvious, so it might not be what you were after. If you want a different answer, you should clarify your question.)
---
single minded; short sighted; long gone;
|
|
|
|
|
When I added ajax panel it gives error
<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
function mymess()
{
alert(document.getElementById("TextBox1.ClientID").value);
}
<asp:scriptmanager id="ScriptManager1" runat="server">
<asp:updatepanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:label id="Label1" runat="server" text="abc">
<asp:textbox id="TextBox1" runat="server">
but with out ajax update panel it works ok. gives whatever value prited in text box. what I have to do?
vijaya
|
|
|
|
|
What's the error?
paste it
|
|
|
|
|
kvijayajyothy wrote: alert(document.getElementById("TextBox1.ClientID").value);
I don't see how this can ever work. It just plain cannot.
alert(document.getElementById("<%=TextBox1.ClientID%>").value);
will work
kvijayajyothy wrote: ö
Replacing that with a normal 'o' would also help.
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 )
|
|
|
|
|
can't we use label like this
document.getElementById("<%=Label2.ClientID%>").value = document.getElementById("<%=TextBox1.ClientID%>").value;
thank you
vijaya
vijaya
|
|
|
|