Hi Friends, At the click of button i am fetching data from back end which takes a time..so before fetching i am making a label visible with a message saying "Please Wait"..as it can be clear from code below.. private void btnShowDetails_Click(object sender, EventArgs e) { lblShowMessage.visible=true; FetchRecords(); lblShowMessage.visible=false; } but that label is not getting visible at all..what could be the problem..plz assist me in this regard. Thanks, Rahul Agarwal
Rahul83
Posts
-
Label Visibility under ButtonClick EventHandler -
Interface- ConfusionThanks a lot Martin..that link helped me a lot.. Regards, Rahul
-
Interface- ConfusionHi Friends, Class Implementing an interface implies class declaring publicly that it is implementing certain method(whose signature is defined in interface)..whats the use of this contract..What if class will simply implement that method.. Warm Regards, Rahul Agarwal
-
Disable Delete Key in Keyboard.Hi Friends..I have a ultrawebgrid..after selecting a row and pressing delete key in Keyboard.the selected row got deleted..I want to disable that option..Plz help e.. Warm Regards, Rahul
-
Disable Delete Key in Keyboard.Hi Friends..I have a ultrawebgrid..after selecting a row and pressing delete key in Keyboard.the selected row got deleted..I want to disable that option..Plz help e.. Warm Regards, Rahul
-
Disable Keyboard Delete buttonHi Friends..I have a ultrawebgrid..after selecting a row and pressing delete key in Keyboard.the selected row got deleted..I want to disable that option..Plz help e.. Warm Regards, Rahul
-
Export data from UltrawinGrid to PDFHi Friends..can u plz tell me how to Export data from UltrawinGrid to PDF
-
HTTP STATELESS..Thanks for answer..so static variable will be maintained at server during subsequent page requests..right?
-
HTTP STATELESS..Thanks..But I tried something like this.. static int i; protected void Page_Load(object sender, EventArgs e){}protected void Button1_Click(object sender, EventArgs e) { i=i+1; TextBox1.Text=i.ToString(); } For each Button Click event, the value of "i" is incremented and displayed in the TextBox. I have clicked the button 5 times and the text box shows 5 in it. At this moment,when I opened another browse , copy - paste the same url and I tried to click the button, it shows "6" in it. Then why it working when i am opening the page in new browser window..My question is whether making it static will make it remember at server during subsequent page postbacks or not? Warm Regards, Rahul
-
HTTP STATELESS..Hi friends, If I am making my some member variable of a class as a static(say int i),then at each Page Postback i m able to manipulate(say increment) the previous value of i.My Question is whether by making member as a static are we making it to be remember by server during subsequent page requests..if so then how http is stateless.. Warm Regards, Rahul Agarwal
-
Clarification On Static Member [modified]Thanks a lot Arun..u understood my question..and answered precisely..
-
Clarification On Static Member [modified]Hi friends..plz go through this pseudo code I Included Requirid Namespaces Dataset ds;--------------------------------------1 //static Dataset ds;-----------------------------2 protected void page_load(parameters) { ds = function in Data acesss Layer which retrives records from database and returns dataset. populatedatagrid(); } void populatedatagrid() { if(mydropdownlist.selectedIndex=0) datagrid1.datasource=ds; else { datagrid1.Datasource= here I performed filtering action using Row Filter Property and selected Index Value } } void mydropdownlist_selectedIndexchanged(parameters) { populatedatagrid(); } I am designing a web page where by default all records will displayed.but by selecting from dropdownlist I can filter the records.Later I thought its not right to perform the fuctionalities of the page_load event at each postback(unnecessry making connection to the database)..so i used Page.Ispostback to avoid that..so first time it worked fine but when i selected from dropdwn list it throws an error "object reference not set to an instance of object".. reason for above error i understood(because in page load event i am returning dataset which does not happened at page post back)..so one of my friend commented the line no-1 and uncommented the line no-2 in above code..thus made dataset static..and it works What I am not understanding is why making the dataset static solved the task..though HTTP is static?Is making dataset ststic makes the records to be saved at server? Warm Regards, Rahul Agarwal -- modified at 7:11 Tuesday 12th June, 2007
-
Clarification On Static Member [modified]Hi friends..plz go through this pseudo code I Included Requirid Namespaces Dataset ds;--------------------------------------1 //static Dataset ds;-----------------------------2 protected void page_load(parameters) { ds = function in Data acesss Layer which retrives records from database and returns dataset. populatedatagrid(); } void populatedatagrid() { if(mydropdownlist.selectedIndex=0) datagrid1.datasource=ds; else { datagrid1.Datasource= here I performed filtering action using Row Filter Property and selected Index Value } } void mydropdownlist_selectedIndexchanged(parameters) { populatedatagrid(); } I am designing a web page where by default all records will displayed.but by selecting from dropdownlist I can filter the records.Later I thought its not right to perform the fuctionalities of the page_load event at each postback(unnecessry making connection to the database)..so i used Page.Ispostback to avoid that..so first time it worked fine but when i selected from dropdwn list it throws an error "object reference not set to an instance of object".. reason for above error i understood(because in page load event i am returning dataset which does not happened at page post back)..so one of my friend commented the line no-1 and uncommented the line no-2 in above code..thus made dataset static..and it works What I am not understanding is why making the dataset static solved the task..though HTTP is static?Is making dataset ststic makes the records to be saved at server? Warm Regards, Rahul Agarwal -- modified at 7:28 Tuesday 12th June, 2007
-
InterfaceHi friends, While going through Interface topic I came across this doubt..say there is a class called Myclass which implements an interface called ImyInterface..there is a line of code: ImyInterface xyz=new Myclass() can u plz explain me what this line of code actually means in terms of object and reference. Warm Regards, Rahul
-
Collection DefinationTahnks a lot for clearing my doubt..
-
Form1 to Form2at the buttin click event create an instance of current form and the form u want open..try sumthing like this At button click event: currentform form1=new currentform(); formToOpen form2=new formToOpen(); form1.hide(); form2.show(); bye
-
Collection DefinationWhile going through collectios i came across a sentence which says.."An object is called collection if it is able to supply a reference to related object called IEnumerator"..can u please explain me what this sentence actually means..I have an idea of Interfaces.
-
How to add control in datagridview column..Thanks a Lot Manoj..I dont know how people like u know each and every thing.. out of curiosity I will like to know since from how long u r working on dot net
-
How to add control in datagridview column..hi friends.. I want to rtrive some imformation from database(say comments,which is somewhere around four to five lines)and bind the same to datagridview column..for that i need add a textbox which has a scroll property to datagrid column..can you plz tell me how to do this.. regards, Rahul
-
To make TextBox scrollableHi Everyone.. I am developing one windows application..I am designing one user control in which I have dataGridview..In gridview I need coloumns of types combobox,textbox..well rest of the things are fine but I that textbox is requrd to be bind dynamically from data base and must have scrollable(multiline) property..can anyone plz tell me how to make it multiline..bcoz in property box i didnt found any such property.. Regards, Rahul