Hi... I have two Custom HttpModules in a .net application. Can I override the BeginRequest event of IHttpModule in both custom HttpModules?
your peter
Hi... I have two Custom HttpModules in a .net application. Can I override the BeginRequest event of IHttpModule in both custom HttpModules?
your peter
hi, I have a problem regarding the reset button on my aspx page. A brief description. I have aspx page on which over 10 text boxes are there with a save and reset button. when I have clicked on the reset button it should clear all values in the text boxes. it is doing the same, but when I click the "Reset" Button second time. I think I made a mistake on the page load while calling the javascript funtions. txtCNumber.Attributes.Add("onKeyPress", "javascript:return Integersonly_special(this, event);"); txtMNumber.Attributes.Add("onKeyPress", "javascript:return Integersonly_space(this, event);"); txtFName.Attributes.Add("onKeyPress", "javascript:return Alphabitsonly_space(this, event);"); txtLName.Attributes.Add("onKeyPress", "javascript:return Alphabits_and_nospace(this, event);"); txtEmpId.Attributes.Add("onKeyPress", "javascript:return Alphabits_and_integers(this, event);"); txtRemarks.Attributes.Add("onKeyPress", "javascript:return Remarks(this, event);"); I have doubt using this Attributes concept. Can any body help me regading this.
your peter
modified on Friday, November 21, 2008 8:57 AM
Thank You
your peter
Hi... I have two forms in my windows application. Form1 and Form2. In Form1 I have 1 Label and a button. In Form2 I have just a button. When clicking on this Form1 button I am opening Form2. In Form2 button Click event I have to hide the Form2 and have to show the value "HI" in the Form1 Label. To do this some one suggested me use delegates. Is this only way to do this?
your peter
Hi... My requirement is to retrieve the child form values into parent form in windows application. For this I am using delegate . And i m getting the following error: " An unhandled exception of type 'System.NullReferenceException' occurred in Delegates.exe Additional information: Error binding to target method. " Please give me the solution if anyone knows . Its urgent. Code which I have written is: Parent Form: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Delegates { public class Form1 : System.Windows.Forms.Form { private string str; public string strPro { set { str=value; } get { return str; } } public Form1() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.Run(new Form1()); } public void fncForm1Test() { textBox1.Text="Hi"; } private void button1_Click(object sender, System.EventArgs e) { Form2 obj2=new Form2(); obj2.Owner=this; obj2.ParentMain = (Form)this.Owner;//Giving ownership ePCRCustomizeControl page to Main page obj2.HostForm = this;//Giving ownership ePCRCustomizeControl page to ePCR_BtnCompositeControl page obj2.Show(); } } } Child Form: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace Delegates { public class Form2 : System.Windows.Forms.Form { public delegate void MyDelegate(); private Form _Parent; public Form ParentMain { get { return _Parent; } set { _Parent = value; } } private Form _Host; public Form HostForm { get { return _Host; } set { _Host = value; } } public Form2() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); }
Thanx srini you have understand my problem.
your peter
Hi , Thanx for reply. But I am using VS2003.Is there any other way to do in 2003. Thanx in advance...
your peter
Hi Can any body tell me is there any way to display a Table in the windows application?.Like (HTML -Table with controls in Web applications) Thanks in advance...
your peter
hi every one... Can any body tell me how to use balloon tool tip in vs2003. Thanks in advance....
your peter
Hi all, This is an urgent requirment for me..I have a page consisting of datatgrid where i have to get the data from database.and bind to it..That dataset shuld remain global as after getting there are some operations where inserting the row..adding the row and all these get happens where, again retreival from database and loading in thedataset is nota correct choice so i used the concept of state managent using sessions which is working properly but using sessions is not a gud choice and there are some situations where session timeout is not working properly ..so i want a dataset to be come global for each user instance..I made use of static declaration which is a worst choice as the users specifice dataset is getting mixed up with all..Can anyone give mea code or help to resolve this solution..i am new to .net Plz i need help
your peter
hi all, In my project I am using a javascript menu.When ever I place mouse on the menu it displying the menu items. While displaying menu items if the aspx pages contains list boxes or drop down list boxes, items of menu displaying behind the boxes. where as for text boxes items displaying on the boxes only. This problem is only for IE. If I run the same aspx pages in Opera I am not facing any problem. What is worng while diplaying the Menu items. thanx in advance.
your peter
Hi, I have requirement where nearly 1000 records are to be updated or inserted or deleted in the client side itself through the dataset.Can anyone know how these operations are to be performed through only clientside without interaction on the server side and send back the modified dataset back to the server code to get updated...Hi this is an urgent requirement for me.. Anyone's help is much appreciated ... Thanks in advance
your peter
Hi, I am getting the following error in aspx page while doing any postback.I have a datagrid in my web page consisting of drop downbox.Previously in windows 2003 server the page is working fine .But when we shifted our application to new server(windows 2000) it is getting that error .I am not getting clear idea how to resolve the solution..I would be very thankful if anyone gives me a solution.It's a very urgent requirement for me...Plz do the needful
your peter
sir, Thanx for reply . But i didn't understand your reply.Please give me your suggestion more clearly. Thank You your peter
hi all, How to use Hot keys facility for buttons in c#.net. Thanx in advance... your peter
hi all, When i enter a letter in the text box i have to get the all the words starting with the letter from the database(sql server) and display the first value in the text box. Thanx in advance......... your peter
hi all, To develop Com Project in Visual Studio we have a option called ATL Com Project in the Project Tab. Like the same way Can v develop a Com project using .net your peter
hi all, in my dataset i have values like this (first row belongs to column names) AccountName RemarkCode RemarkCount Comapany Count Albert D32 1 AETNA 1 Albert N65 2 Medicaid 1 albert N65 1 MegaLife 1 raj 123 2 MegaLife 1 raj 123 2 Anthem 1 what i want is AccountName RemarkCode RemarkCount Comapany Count Albert D32 1 AETNA 1 ------ N65 1 Medicaid 1 ------ 49ps 1 MegaLife 1 raj 123 2 MegaLife 1 ----- ------ ----- Anthem 1 (---- represents no value at that place) an output like this can any body help me how to do this and i should display the out in a datagrid Thanx in advance your peter -- modified at 10:08 Saturday 8th July, 2006
hi all, In my table i have two columns named FromDate and ToDate. I have to find the each and every date in that range and display them in a datagrid. Let us take from date: 06/10/2006 (mm/dd/yy) To Date: 06/15/2006 output should be like this( in datagrid) check box 06/10/2006 check box 06/11/2006 check box 06/12/2006 check box 06/13/2006 .... check box 06/15/2006 can anybody help me how to do it Thanx in advance.. your peter
hi all i need help from all of u ,my question is,i add checkbox in datagrid and check some or all check box in datagrid and click delete button then those datagrid rows are delete from database. Thanx in advance your peter