I am using a gridview and a textbox in an update panel. My aim is to search and display the items in the gridview based on the value in textbox. When a string is entered into textbox , it searches the fields that matches the string and binds it to the gridview. It is working perfectly without the full page refresh. The problem is that when I type something fast, it loses the focus, :( and i needed to click the textbox again with mouse in order to continue. If I do it by keeping intervals between keystrokes, it works. Please help me to keep the focus in the textbox always.
RanjithLogics
Posts
-
update panel , textbox lost focus. -
Very slow GridViewOK.. thanks I will try that way.. And also I found another thing. I am showing the gridview in a div with scroll bars. When I turned the paging option on in gridview ,it helped the situation very much and I found the operations being faster. :) Anyways thank you very much for your precious opinion ..
Ranjith Stephen
-
Very slow GridViewHii Thanx for the reply. The gridview is associated with an sqldatasource. As per your reply, is it making the gridview slow ??
Ranjith Stephen
-
Setting the Checkbox textthere is a read/write property "Text" for checkbox. So what is the problem is setting the text ? You can set it like checkbox1.Text = arr[0].ToString()
Ranjith Stephen
-
Session Time Out in ASP.NETIn web.config Ranjith Stephen
-
Very slow GridViewDear All, I am using a gridview in my asp.net application which is having an edit Item template as well as an Item template. Each of the template is having about 50 controls in which three are combo boxes which are populated from sqldatasource. I use this gridview for edit update delete operations. My problem is that , when I am having about 10 rows my gridview is almost freezing when doing edit update operations. I commented all the source codes thet I have in code behind class, but no use. Do the rendering take this much time ? Can anyone please give me some tips for speeding up my operations. I need to use this type of gridview in many places in my application. Please help.. Thanks in advance
Ranjith Stephen
-
ASP.net gridview design issueOK.. THIS IS MY CSS .GridViewBar { background-image:url("../../images/offStyle/shiny-DarkSiver.gif"); font-family:Arial; font-weight:bold; color:Black; } .PagerStyle { background-image:url("../../images/offStyle/Vista-Blue.gif"); font-family:Arial; font-weight:bold; color:White; } AND THIS IS MY GRIDVIEW HTML
-
ASP.net gridview design issueTHANKS FOR THE REPLY.. I'VE TRIED IT. BUT NO RESULT :(( THE STYLE I AM APPLYING IS COMPLETELY GONE AFTER COME TO EDIT MODE.. AND IT NEVER COMES UNTIL THE PAGE REFRESH...HELP ME..
RANJITH STEPHEN
-
ASP.net gridview design issueDear all, It is just a small problem, but anyway i have to sort it out.. In my asp.net 2.0 editable gridview I am using background images for header, footer and pager. When I am taking the gridview it is perfect with the images. But when I change into edit mode , all images disappears..:(( ... Please help me... Thanx in advance Ranjith Stephen
-
datagridview + edititemtemplate + checkbox [modified]My code is protected void SQL_DS_Updating(object sender, SqlDataSourceCommandEventArgs e) { if (e.Command.Parameters["@IMPA"].Value.ToString() == "True") e.Command.Parameters["@IMPA"].Value = true; else e.Command.Parameters["@IMPA"].Value = false; } I've changed my database field to 'BIT' :)
Ranjith Stephen
-
datagridview + edititemtemplate + checkbox [modified]Thank you very much for the code. I used updating event of the sql datasource for setting the parameters again.(checkbox field parameter only )..and it worked..:) Thanks again for the reply..
Ranjith Stephen
-
datagridview + edititemtemplate + checkbox [modified]hi .. I cant update the value in checkbox (which is in an edititem template) to database.My html code is When i save using gridview update, null values are saved in the database. I am using sqldatasource. My database field is INT. plz help. Thanks in advance -- modified at 5:37 Monday 14th May, 2007 Ranjith Stephen
-
gridview delete problem asp.net 2005I am just giving a direct query like "DELETE FROM [T_BL_CHARGE_SELLING] WHERE [CHARGEID] = @original_CHARGEID" in the sqldatasource's delete query property...
Ranjith
-
gridview delete problem asp.net 2005Hii I am using asp.net 2005 grid view and a sqldatasource with it. When I try to delete a row I got an error like "Specified argument was out of the range of valid values. Parameter name: value "... :( anybody..plz help!!!!:((
Ranjith
-
IE not showing popupsThanks for replying.... But I am not using IE7. The pblm is with my IE6.:((
Ranjith
-
IE not showing popupsMy IE 6 is not showing any popups. I am not using any popup blocker or something..Help :-( Ranjith
-
column hiding in GridviewBut I couldnt find any property Width for "dataGridView1.Columns[0]"
Ranjith
-
column hiding in GridviewI tried this way also.. But it is not working :(
Ranjith
-
column hiding in GridviewThere is no property "Width" for datagridview.columns. There i found a visible property but it doesnt work :(
Ranjith
-
column hiding in GridviewHi ... I am using one asp.net 2 Gridview control. I am binding it with a datatable. Now I want to hide two columns in the Gridview. How to do that ..Plz help me This is my code... DataTable dt = new DataTable("STEPS"); DataColumn dcOrder = new DataColumn("Order", typeof(Int32)); DataColumn dcName = new DataColumn("Name", typeof(string)); //Datacolumns are added to table dtsteps. dt.Columns.AddRange(new DataColumn[] {dcOrder, dcName); ..... //Assigning dtsteps as the datasource of my gridview dgsteps MyGridView.DataSource = dt; MyGridView.DataBind(); Thanks in advance....
Ranjith