rating control in Repeator control
hi i want to add rating control in Repeator control. how to fire event for each row if user click it. [email protected] Thanks ...
hi i want to add rating control in Repeator control. how to fire event for each row if user click it. [email protected] Thanks ...
I'd like to store a few variables which will be referenced throughout lifecycle, starting with a db access in PreInit event. ViewState isn't an option, since it won't persist if saved so early during the page lifecycle. Given that data should not be altered by a user, what would be the best alternative? ...
I have used a external js file for a upload operation in my page.. once the file get loaded in temporary folder, it gets loaded from there even if new changes are made the old version that exist in temp folder gets loaded... i have written Response.Cache.SetCacheability(HttpCacheability.NoCache); on my page But it still loads the js f...
Hi, The following code samples produce the same error when I perform the SAVEAS: Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application(); filePath = (string.Format("{0}.{1}", Path.GetTempFileName(), "xls")); ...do some stuff to the workbook ... excelApp.DisplayAlerts = false; excelApp.A...
I would like to know what's the optimal approach to make a batch insert/update from CLR to SQL Server 2008 R2 database? Optimal in terms of: code complexity - I don't want to over complicate my TSQL or CLR code to prove it can be done implementation simplicity speed - it should perform better than doing one-by-one processing We usua...
Does anyone know of a well-supported ASP.NET wrapper for jquery (much like the way Coolite works for ExtJS)? I have a lot of ASP.NET web forms experience and really don't like writing javascript. I've found working with raw jquery in the web forms model to be difficult (especially when dealing with animations and handling postbacks). If...
I am attempting to implement the suckerfish menu found on this tutorial. I get "object expected" error from the sample javascript: $(document).ready(function () { $("#nav-one li").hover( function () { $("ul", this).fadeIn("fast"); }, function () { } ); if (document.all) { ...
Hello, I want to save MemoruStream, and I use folowing: ... response.BinaryWrite(myStream.ToArray()); response.End(); User gets saving dialog and he can chose to save file or to cancel saving. But, problem is that can't continue to run code if user chooses to cancel download or, if he chooses to save file. I want to call another meth...
Hi there You know I have the way to Cache the data I've got from the SQL Server over data caching. In addition I can output cache web user controls. Whats about a web user control contains data from a SQL database? Does it make sense to cache the data and also cache the control? What is the best solution for the combination of these t...
How to Prevent PDF Document from Being download to users PC? it can be viewed on browser but should not download the file to PC. Is it possible? ...
How would you structure a large project with most of the business logic already inside stored procedures? Here is a little bit of background : We are moving from classic ASP to ASP.NET (VB) and pretty much all the business logic is inside stored procedures. Getting the logic out of there is pretty much impossible since my boss doesn't ...
I am well aware that this is an unusual thing I'm looking to do here, but just trust me, yes I do need to do this. It's all about pattern matching within the raw html (same as view source) for a web page. If a user selects some text in a web browser, I want to be able to say - that selection is at position (say) 1234, (or there abouts) ...
I have a class declaration public class Customer { public string id { get;set;} public Address CustomerAddress { get;set;} ... ... ... public string EmailAddress {get;set;} .. .. .. } during debugging i want to hide some properties from being displayed like (id,CustomerAddress),what is the way to achieve it? ...
I have two themes in my .Net application, both use the same background image. Both have an images folder with this image in them, both have style sheets. One works and one doesn't but ONLY when deployed in IIS in a Virtual Directory scenario so there is an added /MyApp/ directory. I can't seem to even trick the one that doesn't work in...
I've got an application that loads an assembly dynamically: Assembly asm = Assembly.Load("MyClass.DLL"); Type type = asm.GetType("MyClass"); MyClass runningAssembly = (MyClass)Activator.CreateInstance(type); runningAssembly.start(); Once loaded and the start() method is called, this line of code is executed: XmlSerializer deser...
I am working on my first large project that uses EF4 and have been pondering concurrency situations as I am implementing certain business scenarios. I understand that EF has built in support for optimistic concurrency by setting Concurrency Mode to Fixed on entity properties. This seems to be sufficient in most cases. Several things I...
Hi all We can apply styles through .css by giving property class name: Ex: But in server control(asp) there is a property called SkinId, by this way we can access. Ex: So, can we apply styles to html controls through .skin files ...
Hi, I am looking for the file WebResource.axd (to see its source code) but I dont find it. Does someone know where can I find it ? Thanks. ...
I have a very simple user control with 5 radio buttons on it, and 3 properties (ID, RatingSetID, and Rating). On the initial load of the page they are on, the code acquires data and places the data into the 3 properties. However, when the submit button is clicked the page reloads and the 3 properties get reset to 0, they are in the !IsPo...
Hi, I am using telerik controls in my c# asp.net project. I am trying to disable a div in a telerik navigation menu from the .cs file. For example: if (Emp_Role == "1" || Emp_Role == "5") { DivLeave.Visible = true; } I try run the project I get this error: CS0103: The name 'DivLeave' does not exis...