|
please help
how to clear or set the errormessages in validation summary control using javascript...
regards.
There's never a Wronge Time To Do The Right Thing !!
|
|
|
|
|
Hi,
The validation summary has a property "EnableClientScript" which is true by default. This will render javascript and takes care of validation. If you set it to false no client side script is rendered and the control updates itself only on postbacks.
Hope this helps.
Thanks,
Sameer
|
|
|
|
|
hi all,
i have tied to add a rference to my application,
the name of the library is
microsoft excel 11.0 object library
but it is not working , i have got a warnig also.
when i tried to create an object then i have got an error like this
"microsoft.office.interop.excel.application is not defined"
i dont know why i am unable to register taht particualr dll, can anybody help me.
|
|
|
|
|
Hi,
For every com component .NET tries to create a Com Callable Wrapper (CCW) in the form of Interop.xxxx. If it fails to generate CCW you may get a warning / error. The workaround would be to generate an interop assembly from the COM component using TLBIMP.exe <dllname>.
Hope this helps.
Thanks
Sameer
|
|
|
|
|
hi i need to show a message box in asp.net how to do it?
|
|
|
|
|
you can use javascript laert for this purpose.
Best Regards,
Apurva Kaushal
|
|
|
|
|
if you r using visual studio 2005 . add referance of system.windows.form
then use messagebox.show("");
regards
imran khan
|
|
|
|
|
Write the following code in a class file(.vb or .cs) and the from the application call classname.CreateMessageAlert(Me,"Please Login","clientScript")
Public Class ClsMsgBox
Public Shared Sub CreateMessageAlert(ByVal aspxPage As
System.Web.UI.Page, ByVal strMessage As String, ByVal strKey As String)
Dim strScript As String = ""
strScript &= "alert(""" & strMessage & """);"
strScript &= ""
If (Not aspxPage.IsStartupScriptRegistered(strKey)) Then
aspxPage.RegisterStartupScript(strKey, strScript)
End If
End Sub
End Class
Happy Programming!!!
Tonmoy Roy
|
|
|
|
|
hi,
I wanted to know if there is any way of running the internet explorer as the background process. i dont want the internet explorer to be displayed but it should invoke the iexplorer.exe and should show as a running process in the task manager.
If there is any link then plz suggest it to me.
Thanks
Riz
|
|
|
|
|
I don't think so.
Why?
---
Year happy = new Year(2007);
|
|
|
|
|
May be it will not possible because the ASP.Net controls will be converted in the form of html when executed and to run html?, you can imagine the rest.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi,
I have a windows project developed in VB.Net.... when i run the exe of that project,i want the internet explorer to run in the background. just let me knw if it is possible to do this.
i want to open the internet explorer in the background.... this should always run till the exe ofthe project is running and once we exit the project, the background process of the internet explorer should be ended.
waitingforur response.
Riz
|
|
|
|
|
Yeah it may be possible, but I dont know about about that. It is possible because, if it would have not been possible how can we run the exe files from start button and other.
But I dont know much about window handlers and windows services. It could be possible from any one of these things. Refer these topics in google, deffinitely you may find some solution.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Did you get what you need.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi,
If possible can u suggest me sum links/sites to solve this problem.
|
|
|
|
|
Hi,
I have this editable datagrid. the user is to select a name from a textBox that I created and press on the button ok only one row will be selected but there is a problem when the user tries to edit the whole table comes back but when presses ok again the column comes back in the editable mode. And I don't really want it to be like that. could some one help me and tell me how I can make it stable?
thanks
|
|
|
|
|
What you need to do is when you are updating the record there itself you need to rebind the datagrid after the updation.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thank you,
I actually did this and it worked:
Datagrid1.EditItemIndex = 0;
and you Bind.
Thanks.
|
|
|
|
|
Always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
Dear All,
i am making web application using asp.net ,C# (Visual studio 2005).i have a web page with couple textbox conntrol and dropdownlist controls(Some of them autopostback is true). In order to check whether this control is not blank i use requiredfielfvalidator control. my problem is i want all required validator only check at save event event not whenever there is postback. that is let say textbox control having postback true only check all its previous required validator. Not succesor validator
Is it possible. if yes how can i do it . please guide me
regards
imran khan
|
|
|
|
|
On Save Button Click wirte javascript code.No need to use requiredfieldvalidator control.
|
|
|
|
|
Use summary validator. but all requiredfieldvalidator's mode should be none
|
|
|
|
|
In asp.net i have one datagrid control in that i have added one check box now i want to check whether all check box are selected or not
|
|
|
|
|
Hope this will help u:
http://www.datagridgirl.com/articles.aspx
|
|
|
|
|
if validation button is outside the grid. You simply write code on button click event.
for(int i=0;i
|
|
|
|