Hi Guys,
I am using a HtmlEditor of third party (KarmaSoft) on my page I use it for description and a normal text box for Name. I want whenever page load the focus should be on Name Text box, I tried to set focus in page load even using javascript it works when I am not using HtmlEditor, but when I use it the focus is set on this contro...
my code-
else if (responseEntity.Messages[0].Description == ResponseMessages.DUPLICATE)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "javascript01", "hide('tblProductGrid');");
ShowDuplicateRecordAlertMsg("PROD", "Product");
txtAddProductName.Enabled = true;
}
private void ShowDuplicateRecordAlertMsg(string...
Hey,
Easy question for ASP.NET profenssionals:
I have a few dynamic generated textboxes in a row. In this row is also a image with an eventhandler "onclick". I will create a relationship between the textbox and the image.
I click on the image, choose a value and then the textbox will be filled.
Currently my controls have following dynam...
In VS 2010 I have created a test method in partial class stored in Default.Partial.aspx.cs within the same directory as Default.aspx.cs but it isn't recognized by the Default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for Default
/// </summary>
pub...
Why is knowing the Asp.net lifecyle important to coding in Asp.net?
...
Hi.. I am new to .net ..Is there any difference between exception and Exception in .net I received error while using 'exception'..
...
Hi
I am using ajax model popup extender in my asp.net page. From my page , on click of Save button , i popup panel using model popup extender.
If i cause postback from model popup , my backend (asp.net) form controls are coming front (ie) in the panel.
Here is my code snippet,
<form id="form1" runat="server">
...
WE developed system integrated with crystal Reports, with Crystal Report viewer on page. but the problem is we hosted it on 32 bit server but when access it and try to print the report it gives the error and does show any dialogue. we have installed full crystal report version with License but error is there.
I tried to find but no succ...
i have application that writing on wpf (c#)
the application have style manger that i have build on blend.
my problem is this i got a login button that blink and i dont find where is at
and how to remove at.
the style code of the login box here:
<Style x:Key="LoginBoxGrid" TargetType="{x:Type Grid}">
<Setter Property="Background...
Is there anyway to run an event after i selected a file in a Fileupload control, so i can set Label1.Text = FileUpload.FileName;
Or if any of you got another idea that would be awesome too(maybe some javascript)! :)
...
I have a user control with a property of type List<Something>:
Private p_myList As New List(Of Guid)
Public Property MyList() As List(Of Guid)
Get
Return p_myList
End Get
Set(ByVal value As List(Of Guid))
If value Is Nothing Then Throw New ArgumentNullException()
p_myList = value
End Set
End Prope...
Greatings!
I'm working on a reporting script which runs a number of reports (pdf) on button click. The reports are created on the web server then I'd like the user to be given the option to download the files. I have worked out the script for downloading one file from the server. But I'm not sure how to download multiple files? (there ...
I'm using Asp.net to create a csv file that the user can open directly in excel. I want to make it possible to show the download popup and for the user to choose "Open with Excel" and that will open the file in excel.
The code to create the csv:
Response.Clear();
Response.AddHeader("content-disposition", string.Format("attachment; fil...
I have an ASP.NET application that is consistently using 75% - 100% of the CPU on a production server. How can I profile the application to figure out what part of the code is using up the most CPU? I have looked at a couple of different tools (Xte Profiler, EQATEC, dotTrace), but they all seem to want you to load and run the applicati...
I want to know how can I get excel cell name like e.g. if I pass RowNumber and ColumnNumber
then function should return me the excel cell name like "A1".
Is it possible?
I am using ExcelWrapper which I found on codeplex.
...
Hi ,
I am built an intranet application to be used by MC9090-G hand held scanner , it has Windows CE OS and I am using IE to view the website ,it does not load any images on the , I did check the internet options and settings and also made sure that Show Pictures option is enabled. And also when I try to view this website on my PC it I...
I am successfully including a javascript resource by calling ScriptManager.RegisterClientScriptResource at the end of OnPreRender in my custom control. However, the resulting script tag is being included before the automatically included script tags that define things like Type and Sys which my script depends on. I thought they were de...
Hi All,
I have make a control using coolite extjs toolkit for asp.net v 0.8
the control contains 2 Tree panel
and I enabled the drag and drop in both , I want to drag one node from tree to the other tree , I did the first part and define Move Listener to the nodes from first tree , and in the handler I saved the Id of the dragged node...
I want log4net to write to my ADO log immediately but it doesn't seem to do it until the application exists, how can I remedy this?
...
Hi,
I've searched high and low for some resolution to this problem. Hopefully someone here can explain!!
I create a usercontrol that uses .NET web controls, but I want to create a smoother user experience by avoiding full postbacks, so I write some JQUERY to capture click events on the client and in this way do the processing without g...