|
Hi,
If I have a submit button on my form, users may keep submitting (clicking the button). How can we prevent this.
I have googled for this and found that disabling the button is not a good practice.
Regads,
Blumen
|
|
|
|
|
There are many options just redirect the user to other sucessfull page, or clear all controls of the page and just check whether there exists value in controls if not than stop user submitting the form.
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
After clicking on submit button you can redirect to other page.
Thanks & Regards
Niranjan
|
|
|
|
|
Navaneeth,
i went through the link for regexbuddy , i downloaded the setup , but it did not give the idea behind the expressions , how the particular expression is being created , instead it is directly giving me the solution , i wanted the meaning for each and every subscript , do u know any other link ?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Please don't address the message to a single person. There may be other people who can provide good solution than me, and this will stop them from doing that.
Sonia Gupta wrote: instead it is directly giving me the solution , i wanted the meaning for each and every subscript
http://www.regular-expressions.info/[^]
|
|
|
|
|
In exact what u r required for
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
i want the basic knowledge.What are the meanings of metacharacters ? How to utilie the same in real life ? I want to understand them in deep.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Dear that is good that u have to explore deep in metacharacters.
But there are different meanings for these metacharactters according to area in which u have to use...
so its difficult to learn all at once..
first u can explore ur self with regularexpression.. n this is only possible if u ever try ur hand in Automata.
if u require any help in ASP.NET3.0 than sure i will help u as i m exploring my self in thge same area.
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Ok ThanQ
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
ladki ka naam dekhte he answers ki barsat........
joking
its me sid
|
|
|
|
|
when i Use this code on asp x page then work properly.if i use this code in globel.asax then its occur Error Request is not available in this context) any have the solution of this error then Help Me.
Code:-
If ConfigurationManager.AppSettings("ProtectSection") = True Then
Dim config As Configuration = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath)
Dim section As ConfigurationSection = config.GetSection("appSettings")
If Not section Is Nothing And Not section.SectionInformation.IsProtected Then
section.SectionInformation.ProtectSection("DataProtectionConfigurationProvider")
config.Save()
End If
End If
Piyush Vardhan Singh
|
|
|
|
|
In which event you wrote this code ?
|
|
|
|
|
Thanks friends i have done
Piyush Vardhan Singh
|
|
|
|
|
we are creating stocks oriented application.we have retrieve the data from database for every 2 minutes
|
|
|
|
|
Basheer wrote: we are creating stocks oriented application.we have retrieve the data from database for every 2 minutes
Basheer wrote: urgent,please help us
You don't know how to post a question. Read the guidelines first.
|
|
|
|
|
--> Add a Meta tag in page
Here content describe a second(as you want to retrieve the da
|
|
|
|
|
Ajax Timer Control Should be better for that.
if we use this meta tag It will Refresh the whole page . and If some one Click on "Refresh" button manually then what will happend ???
Thats whay Ajax Timer Control is the best option !!!
|
|
|
|
|
Ya,It is depend on that which thing you use.
|
|
|
|
|
i m try to design stocks application now i need retrieve data from database for every one minutes
sg
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
ramesh_imayam wrote: i need retrieve data from database for every one minutes
Use Update panel that comes with AJAX toolkit. Use a timer to update the contents at the specified interval.
|
|
|
|
|
protected void Gdv_Dept_List_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowIndex >= 0)
{
e.Row.Cells[2].Attributes.Add("onclick", "javascript:m(this);");
}
}
I have a grid.If i select a row in grid then the add button(it is an input button) will be disabled .That means only modify button will be view when selecting the row.But due to postback occurs in the grid selection the disabled controls will be see after the postback.How i overcome it.The disabling code is a javascript and it is given in rowdatabound event of the grid.Please help me.
|
|
|
|
|
Hi,
that will occurs because on every postback you are not firing this event of datagrid row databound.
You have to call this event on every postback.
Then you can overcome with this problem.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
I checked this code like
if(IsPostBack==true)
{
codes given
}
but it will not disable the button
|
|
|
|
|
Hi,
then there must be some another problem.
Try to figure out your code again ?
In which case its working and in which not..
Try this...
in page load just call function to fillGrid...
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|