|
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
|
|
|
|
|
I will bind the grid in the page load itself.But in rowcommand of grid code is written to bind the grid row into the fields avialble.But when i selct the row the add button wil be disabled .thats my query
|
|
|
|
|
Hi,
so now you have to get one viewstate or session variable in that you have to get value that you have clicked delete or add button. on rowcommand set below code.
Like on delete click --- session["click"] = "delete"
on add click --- set session["click"] = "add"
Now check in datarowbound..
if session["click"] == "delete" then disable add button and visevesa...
Hope it will help you...
Bind grid in page load.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Dear Friend,
Your gridview your Add button is templatefield and given name is "btAdd". you are executing javascript while click on this button which run ok. Now if you want to disable while selecting row you can write bellow code::
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Button bt=(Button)e.Row.Cells[2].FindControl("btAdd");
bt.Enabled = false;
}
}
now let say while editing raw you want to enable Add button than write this code::
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
GridView1.EditIndex = e.NewEditIndex;
bindDataList();
Button bt = (Button)GridView1.Rows[e.NewEditIndex].Cells[2].FindControl("btAdd");
bt.Enabled = true;
}
I hope this will help you.
Thanks
"Good Thing Goes With Good People..."
|
|
|
|
|
i want to disable minimize button from a popup window.
am using ,
var win=window.open("Index.aspx","_blank","toolbar=no, location=no, titlebar=no,minimize=no,linkbar=no, directories=no, status=yes, menubar=no, scrollbars=yes, resizable=yes, width=1024, height=768, copyhistory=no")
for displaying popup window.
i dont want to disable maximize window.
Plz help.....
i dont want to use showModalDialog
|
|
|
|
|
Hi,
try this Link[^]
And another link is this[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Sorry sir i didnt get u..
can u just show an exampl
|
|
|
|