I think you didnt understand my requirement..I dont hv any problem wid the page postback.. My requirement is as follows: i)There will be an admin user who will add the data for the site. ii)Requirement is like,when admin will add the data tht time only XML file get updated.Otherwise search will done from XML file with the data present at tht time. Basically I want to ignore the trip to the database server...
Deepml
Posts
-
Search data from the database -
Search data from the databaseHow can i use ajax for this??
-
Search data from the database1.Basically whatever the solution , it should be applicable to the search the data which will be in small or huge amount.. 2.My requirement is as follows: i)There will be an admin user who will add the data for the site. ii)Requirement is like,when admin will add the data tht time only XML file will get updated.Otherwise search will done from XML file with the data present at tht time. Basically I want to ignore the trip to the database server... If you are talking about the caching is it feasible solution for it?
-
Search data from the databaseMy requirement is to search the data from the database.But here one problem is whenever I click for search the data,It will take the trip to database server.Instead of that Is there any other solution where I can keep my data from database and search for it.. 1.Is it possible to do with transfer the data to XML file and search in tht only? 2.Or there is another solution to do this? Please help me..
-
Gridview column visible invisible in Javascript problemHow to hide the gridview column onclick of button(which is outside the gridview) in javascript I have written follwing code in javascript function but its throwing the error : var gv = document.getElementById('<%=gvEmpDetails.ClientID%>'); gv.Columns[19].Visible=false; Error : 'Columns.19' is null or not an object wht is the problem?
-
ValidatorCalloutExtender not working in asp.net 3.0 versionThanks !!! I have putted ajax enabled website related code in web.config In "system.web" tab i put <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/> </httpHandlers> <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </httpModules> Now its works fine.. Thanks again...
-
ValidatorCalloutExtender not working in asp.net 3.0 versionValidatorCalloutExtender not working in asp.net 3.0 version. Giving javascript error as 'Sys is not defined'. Please tell me what I am missing??
-
static constructors for dropdownlist.I want to create static constructors for dropdownlist. I have dropdownlist like "ddlState" on my page.As state data of dropdownlist will change very rarely,So I want to create static constructor for dropdownlist. Is it possible?? If yes,how can I do this?? Likewise "ddlState" I have another dropdownlists on my page..for which i have to do same functionality.
-
Static Constructors for DropdownlistI want to create static constructors for dropdownlist. I have dropdownlist like "ddlState" on my page.As state data of dropdownlist will change very rarely,So I want to create static constructor for dropdownlist. Is it possible?? If yes,how can I do this?? Likewise "ddlState" I have another dropdownlists on my page..for which i have to do same functionality.
-
ValidatorCalloutExtender not working in asp.net 3.0 versionValidatorCalloutExtender are not working in my page. I have written <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> I am not gettting wht is the problem?? Please help me out..
-
Help on Partial classesWhy not in a simple class? --Actually my project requirement is like that only.I have to use partial classes.So that after deployment of the Application on Client's server.We can upload only that page related dll on server. Why not in a simple class? And if you are putting them in normal folder how will you access them?are you creating separate dll for that -- No I am not creating any dll for that.Actually I am stuck up there only for how to access the partial classes from the normal folder. And why you are not storing it into App_Code Folder? --As per my knowledge after publishing the application it creates the only one dll for App_code,I dont want tht. Now I am trying to create partial class in web application only ..ie. SampleApplication > partial class for default But How can access this partial class on Default.aspx.cs page.. I have already wasted my one day for this.But i m not getting the solution nad there are very tight deadlines for the project.Please help me ASAP..
-
Help on Partial classesYes..I dont want to use BLL.Instead of that I want to use partial classes and basic idea to use it is to put more and more code in Partial classes. Please please help me out!!!
-
Help on Partial classesActually I dont want to put that page class file in app_code folder.I want to keep the dll for that Default.aspx.cs page sepearatly. And I tried to create partial class in SampleApplication > PartialClasses > Default.cs for page Default.aspx.cs.But its giving me some what Temporary file error.I have deleted Temporary files also.Still its not working :( Please guide me how to create partial class : Below mentioned the code which i have written in partial class : /// /// Summary description for default /// public partial class default { public default() { // // TODO: Add constructor logic here // } } Also please tell me how to access this partial class in my Default.aspx.cs page.
-
Help on Partial classesThanks Abhijit.. I have created one folder in website as 'PartialClasses' where I am goin to put all the partial classes in tht folder. But how can I access that Class in my Default.aspx.cs page?
-
Help on Partial classesI have doubt about the partial classes.Can we create gridview events in another partial class.
-
How to apply stylesheet class in EMail HTML formatThanks Abhijit.. I got it :)
-
How to apply stylesheet class in EMail HTML formatAbhijit Can you please tell me how to write that cssClass with Bodystring,I mean how to write
-
How to apply stylesheet class in EMail HTML formatI want to apply stylesheet to the HTML format of mail. I dont want to use code like : string strBody=""; strBody += "
Hi,"; strBody += "
"; Instead of that want to use : string strBody=""; strBody += "
Hi,"; strBody += "
"; ObjMail.BodyFormat=MailFormat.Html; ObjMail.Body=strBody; Is it possible to use what I expected??
-
tooltip style as balloon for asp.net textbox controlThanks for reply.. But i dont want to validate the control.I want simple tooltip for textbox.
-
tooltip style as balloon for asp.net textbox controlI want to show tooltip for textbox control in balloon format. Is it possible? I searched on net,but there are examples for windows form.I want it should be on webform.