Hi, In my application I am having a gridview on a page, I want its data to be loaded again only if there is any change at database end in spite of loading same data again and again.
Deepak Nigam deepak@swiftcybernetics.com Swift Cybernetics
Hi, In my application I am having a gridview on a page, I want its data to be loaded again only if there is any change at database end in spite of loading same data again and again.
Deepak Nigam deepak@swiftcybernetics.com Swift Cybernetics
hi Friends, I want to generate options available for login id like Gmail, yahoo when the desired login id not available. Is there any way to do this ?
Deepak Nigam deepak@swiftcybernetics.com Swift Cybernetics
dear friends in my application m having a label control on the parent page and not i want to access this from the usercontrol. i want to change the text property of the label. I have used this code but it is returning null.
Label lbl = (Label)this.Parent.Page.FindControl("lblErr");
if (lbl != null)
{
lbl.Text = "This shortname is already in use, please use a different shortname.";
lbl.Visible = true;
}
help me please..........
Deepak Nigam deepak@swiftcybernetics.com Swift Cybernetics
Thanks for your quick reply but i am not able to make an object of the usercontrol ie py_user py_user1 = new py_user(); also this part i have done using Control t = LoadControl("../UserControl/py_user.ascx"); t.ID = "py" + i.ToString(); pPanel1.Controls.Add(t); In my user control there is a textbox that takes an integer value and generates a table with the specified no of rows, Now what happens suppose i have created 3 instance of my usercontrol, again in the first usercontrol i want 3 rows so i put 3 and generate 3 rows till this it is working fine, but when i move to second instance of usercontrol and try to generate 2 rows it generate 2 rows but it clear the rows of first control. i want rows in all the usercontrols, please help me..............:)
Deepak Nigam deepak@swiftcybernetics.com Swift Cybernetics
hello friends, In my application i am having a usercontrol py_user, now i want to create its multiple instance at runtime, like if i enter 5, 5 py_use control should be added on the page. Please help me how to do this.
Deepak Nigam deepak@swiftcybernetics.com Swift Cybernetics
Hello friends, m having some problem with dropdownlist, in my code i have to save the selected value in the database and after it i need to remove it from the dropdownlist, my code is as below LevelDBMLDataContext dt = new LevelDBMLDataContext(); LevelMaster lmas = new LevelMaster(); lmas.KMLevel_number = Convert.ToInt32(ddlLevelNumber.SelectedItem.ToString()); lmas.KMLevel_Name = txtLeveName.Text; lmas.KMLevel_Description = txtDescription.Text; lmas.KMLevel_Status = getStatus(); dt.LevelMasters.InsertOnSubmit(lmas); dt.SubmitChanges(); ClearControls(); fillLevelNumber();// function for binding the dropdownlist
but since page load occur before the click button click event it is not working.please help me ...........thanks
Deepak Nigam deepak@swiftcybernetics.com Swift Cybernetics
If you want to show a jacascript alert then use the following code. Page.ClientScript.RegisterClientScriptBlock(this.GetType(),"key","alert('Message')");
Deepak Nigam deepak@swiftcybernetics.com Swift Cybernetics
Dear Friends, m new to linq and i have searched a lot for the reference, please tell me how should i start, also i very much confused with DataContext class, i do not want to use designer for this, i want to do this by code, please provide me some reference. thanks in advance.
Deepak Nigam deepak@swiftcybernetics.com http://www.swiftcybernetics.com
Dear friends, I am in a great problem with my application as in my application i have to send mails automarically. So to this i have written my code in the global.aspx in application_start. Now my problem is that i am getting mail regularly at every seconds in my inbox but i am not able to stop these mails, even i have stopped the application. please help me how to stop these mails.
Deepak Nigam
Hello friends, In my app i have to fire two mails, one to user and other t0 admin. Admin receives a mail with attachment, and user gets without any attachment. Now my probelem is that when i execute my code on local it is wrking fine but when i upload it live the admin is not getting any mail whether the user is getting. I make some changes in admin mail, i removed the line for attachment and again uploaded it in this case admin also receives an email. I mean to say that i am not able to deliver email with attachment from the live whether from local my code is wroking fine. Please tell me what could be the problem.
Deepak Nigam
hello friends, I want to change the property of div dynamically such as depending on the condition sometimes its display to block or none; Plz help me how to do this from codebehind...
Deepak Nigam
Hello friends, In my application i have to use anchor tag for redirecting to another page. I want to pass customized url as url+querystring but unable to do it. I have saved the querystring in a span. but how to get value from span and pass it to anchor. Please help me........ Thanks in advance......
Deepak Nigam
Hello friends, Please first visit my page tutorbene.co.uk there click on free demo i have used a div that is poping out but my problem is that if i scroll this page up or down the whole div moves. I want this div to be positioned on the left bottom position. Please help me.....
Deepak Nigam
you can use postbackurl also......
Deepak Nigam
My dear friend viewstate work on page level......
Deepak Nigam
Actully that page is coming from the cache. try to remove the cache using this code Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.Now); you can write this code on the master page load event........
Deepak Nigam
Hello friends, I build a dll in my application using class library project. And in web application i add reference it is also showing in the bin folder and application directory. but on the page.aspx.cs file when i try to import this with "using " keyword i am not able to do this. I am not finding the classes in the application. Plzz help me wht to now... Thanks in advance..........
Deepak Nigam
Dear friends..... I build a project in VS2008 and want to use it on the differen computers. it is working fine on my PC but when i try on some another system it generate an error try to send error report to microsoft. I have already installed .net fraamework 3.5 on the other system where i m trying. Please help me what to do???
Deepak Nigam
Thanks Sandeep.......... It works.
Deepak Nigam
I come back to last page by clicking the Back button on the browser.
Deepak Nigam