Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
L

lijukv

@lijukv
About
Posts
26
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • aspnet_wp and IBM Websphere MQ
    L lijukv

    Anybody is having any idea about it? The sytem where Visual Studio 2005 is not installed are Windows 2003 system and others are XP

    ASP.NET visual-studio csharp asp-net data-structures help

  • aspnet_wp and IBM Websphere MQ
    L lijukv

    Problem: I am not able to put message into Queue If I am accessing the application from an URL instead of running the application from IDE. ---------------------------------------------------- General Information 1. Visual Studio 2005, Framework 2.0 2. WMQ 5.3 trial version When we run our application from dot net IDE then we are able to put message into Queue, but if we access the application from an URL then we are not able to put the message to Queue. The information fromt the event viewer is -------------------------------------------- Entity 'aspnet' has insufficient authority to access object 'T2RQM'. The specified entity is not authorized to access the required object. The following requested permissions are unauthorized: connect Ensure that the correct level of authority has been set for this entity against the required object, or ensure that the entity is a member of a privileged group. ------------------------------ I added the aspnet account to both Administrator and MQM groups, still its not working. One thing which I noticed is that it is working fine in system where Visual Studio 2005 is not installed

    ASP.NET visual-studio csharp asp-net data-structures help

  • So much delay in getting the event fired
    L lijukv

    I myself solved the problem.! Thanks for the time spend. As i expected it was the problem of Viewstate. I was holding one dataset of 5000 records in Viewstate.

    ASP.NET help visual-studio sysadmin

  • ImageButton Server-side OnClick handler doesn't always get called
    L lijukv

    if u have given AutoEventWireup="false" in the page directive then u have to give Handles StartProcessButtonClick.Click ie .. protected void StartProcessButtonClick(object sender, ImageClickEventArgs e)Handles StartProcessButtonClick.Click { if(sender is ImageButton) { // blah } } Other wise u have to make AutoEventWireup="true" I am not sure whether this little information will solve your problem

    ASP.NET csharp sysadmin regex question

  • So much delay in getting the event fired
    L lijukv

    A minute Other files in the Project don't have this delay

    ASP.NET help visual-studio sysadmin

  • So much delay in getting the event fired
    L lijukv

    Problem:- So much delay in getting the event fired I am having this much server controls in my page 1. 8 drop downs 2. 3 list box 4. 4 text box 5. 1 repeater control and other labels When i click on any server control it is taking too much time to fire the event alone Note: 1. Page load event have very little code 2. All the controls have viewstate enabled 3. During the intial page load there is no delay. 4. Framework is 1.1 and IDE is 2003 If anybody could traceout, then it would be a great help to me. Thanks in advance

    ASP.NET help visual-studio sysadmin

  • Customizing Dropdownlist
    L lijukv

    :) I would like to have two controls(check box & drop down list) when i click a dropdownlist . ie when the dropdownlist is clicked I need to have a checkbox on the left side of each item and dropdownlist on the right side, so that the items in the dropdownlist will be displayed as per above and the whole thing should behave as a dropdownlist If there is anyother way of satisfying my requirement , plz tell me. :rose:

    ASP.NET

  • Customizing dropdownlist
    L lijukv

    I would like to have two controls(check box & drop down list) when i click a dropdownlist . ie when the dropdownlist is clicked I need to have a checkbox on the left side of each item and dropdownlist on the right side, so that the items in the dropdownlist will be displayed as per ablove and the whole thing should behave as a dropdownlist If there is anyother way of satisfying my requirement , plz tell me. :)

    ASP.NET

  • *****Clashing of two Events *******
    L lijukv

    :) For example I am having two controls, textbox and dropdownlist For both the controls autopostback is true. I have written some code in the textbox's textchanged event The problem is -------------- after I do some change in text in the textbox control and directly select an item in the dropdownlist, the page gets vanishes. Actually the whole control in the page gets vanishes!.No other actions can be done in that active browser. We have to finally close the browser and run the page again. If i do the same procedure by clicking somewhere else in the form before selecting an item in the dropdownlist then no problem happens What i feel is that the textchanged event and selectedIndexchanged event is getting fired together.(I am not sure my assumption is right) ------------------------------------------ What is the problem and how can i solve it? ------------------------------------------ The code is server side code all the controls are server controls System.Web.UI.WebControls.Dropdownlist System.Web.UI.WebControls.TextBox I am not creating it dynamically I don't think its the problem of the code in textChanged event bcoz if after changing the text in the textbox if we click anywhere else on the page then click on the dropdownlist, no problem arise Anyway the code for the textchanged event for txtDevelopmentExperience ------------------------------------------ lblMessage.Text = ""; if(txtDevelopmentExperience.Text != "") { RangeValidator objRangeValidator = new RangeValidator(); this.FindControl("Form1").Controls.Add(objRangeValidator); objRangeValidator.ControlToValidate = "txtDevelopmentExperience"; objRangeValidator.Type = ValidationDataType.Double; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.Validate(); if(objRangeValidator.IsValid != true) { lblMessage.ForeColor = Color.Red; lblMessage.Text = "Invalid data in DE"; return; } objRangeValidator.ControlToValidate = "txtTestingExperience"; objRangeValidator.Type = ValidationDataType.Double; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.Validate(); if(objRangeValidator.IsValid != true) { lblMessage.ForeColor = Color.Red; lblMessage.Text = "Invalid data in TE"; return; } if(txtTestingExperience.Text == "")txtTestingExperience.Text = "0"; txtTotalExperience.Text = Convert.ToString(Convert.ToDouble(txtDevelopmentExperience.Text.Trim()) + Convert.ToDouble(txtTestingExperience.Text.Trim())); ---

    ASP.NET question design sysadmin help tutorial

  • Clashing of two Events
    L lijukv

    For example I am having two controls, textbox and dropdownlist For both the controls autopostback is true. I have written some code in the textbox's textchanged event The problem is -------------- after I do some change in text in the textbox control and directly select an item in the dropdownlist, the page gets vanishes. Actually the whole control in the page gets vanishes!.No other actions can be done in that active browser. We have to finally close the browser and run the page again. If i do the same procedure by clicking somewhere else in the form before selecting an item in the dropdownlist then no problem happens What i feel is that the textchanged event and selectedIndexchanged event is getting fired together.(I am not sure my assumption is right) ------------------------------------------ What is the problem and how can i solve it? ------------------------------------------ The code is server side code all the controls are server controls System.Web.UI.WebControls.Dropdownlist System.Web.UI.WebControls.TextBox I am not creating it dynamically I don't think its the problem of the code in textChanged event bcoz if after changing the text in the textbox if we click anywhere else on the page then click on the dropdownlist, no problem arise Anyway the code for the textchanged event for txtDevelopmentExperience ------------------------------------------ lblMessage.Text = ""; if(txtDevelopmentExperience.Text != "") { RangeValidator objRangeValidator = new RangeValidator(); this.FindControl("Form1").Controls.Add(objRangeValidator); objRangeValidator.ControlToValidate = "txtDevelopmentExperience"; objRangeValidator.Type = ValidationDataType.Double; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.Validate(); if(objRangeValidator.IsValid != true) { lblMessage.ForeColor = Color.Red; lblMessage.Text = "Invalid data in DE"; return; } objRangeValidator.ControlToValidate = "txtTestingExperience"; objRangeValidator.Type = ValidationDataType.Double; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.Validate(); if(objRangeValidator.IsValid != true) { lblMessage.ForeColor = Color.Red; lblMessage.Text = "Invalid data in TE"; return; } if(txtTestingExperience.Text == "")txtTestingExperience.Text = "0"; txtTotalExperience.Text = Convert.ToString(Convert.ToDouble(txtDevelopmentExperience.Text.Trim()) + Convert.ToDouble(txtTestingExperience.Text.Trim())); ------

    ASP.NET question design sysadmin help tutorial

  • Clashing of two Events
    L lijukv

    all the controls are server controls System.Web.UI.WebControls.Dropdownlist System.Web.UI.WebControls.TextBox I am not creating it dynamically I don't think its the problem of the code in textChanged event bcoz if after changing the text in the textbox if we click anywhere else on the page then click on the dropdownlist, no problem arise Anyway the code for the textchanged event ------------------------------------------ lblMessage.Text = ""; if(txtDevelopmentExperience.Text != "") { RangeValidator objRangeValidator = new RangeValidator(); this.FindControl("Form1").Controls.Add(objRangeValidator); objRangeValidator.ControlToValidate = "txtDevelopmentExperience"; objRangeValidator.Type = ValidationDataType.Double; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.Validate(); if(objRangeValidator.IsValid != true) { lblMessage.ForeColor = Color.Red; lblMessage.Text = "Invalid data in DE"; return; } objRangeValidator.ControlToValidate = "txtTestingExperience"; objRangeValidator.Type = ValidationDataType.Double; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.Validate(); if(objRangeValidator.IsValid != true) { lblMessage.ForeColor = Color.Red; lblMessage.Text = "Invalid data in TE"; return; } if(txtTestingExperience.Text == "")txtTestingExperience.Text = "0"; txtTotalExperience.Text = Convert.ToString(Convert.ToDouble(txtDevelopmentExperience.Text.Trim()) + Convert.ToDouble(txtTestingExperience.Text.Trim())); --------------------------------------------- Even if i am not using the dynamic creation of range validator the problem will come In the second last line of the code I am changing the text of another textbox(txtTestingExperience) thereby the textchanged event of this textbox(txtTestingExperience) will get fired up(same type of code is written in this But i request u to try with basic code to try out .Changing the tex and directly changing the selected index of dropdownlist. Thanks for reading and continously helping me :) :rose:

    ASP.NET question help tutorial

  • Clashing of two Events
    L lijukv

    The code is server side code Actually the whole control in the page gets vanishes!.No other actions can be done in that active browser. We have to finally close the browser and run the page again.

    ASP.NET question help tutorial

  • Clashing of two Events
    L lijukv

    :) For example I am having two controls, textbox and dropdownlist For both the controls autopostback is true. I have written some code in the textbox's textchanged event The problem is -------------- after I do some change in text in the textbox control and directly select an item in the dropdownlist, the page gets vanishes. If i do the same procedure by clicking somewhere else in the form before selecting an item in the dropdownlist then no problem happens What i feel is that the textchanged event and selectedIndexchanged event is getting fired together.(I am not sure my assumption is right) What is the problem and how can i solve it? :rose:

    ASP.NET question help tutorial

  • Error while creating validation control in runtime
    L lijukv

    I want to use Range Validator for 3 text boxes, I don't want to provide three Range Validator in the Web form(ie no design time Range validator). I don't want to use CustomValidation control(since I have to provide the validation as a function) ----------------------------- Error Happens in the "Validate()" method. The code and Error description is given below RangeValidator objRangeValidator = new RangeValidator(); objRangeValidator.ControlToValidate = "txtPreviousCostToCompany"; objRangeValidator.Type = ValidationDataType.Integer; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.ErrorMessage = "Error"; objRangeValidator.Validate(); Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Source File: c:\inetpub\wwwroot\timesheetmanagement\recruitment.aspx.cs Line: 238 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() System.Web.UI.WebControls.RangeValidator.ControlPropertiesValid() System.Web.UI.WebControls.BaseValidator.get_PropertiesValid() System.Web.UI.WebControls.BaseValidator.Validate() HRMG.Recruitment.recruitment.cmdSave_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\timesheetmanagement\recruitment.aspx.cs:238 System.Web.UI.WebControls.Button.onclick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 236: objRangeValidator.MinimumValue = "0"; Line 237: objRangeValidator.ErrorMessage = "Error"; Line 238: objRangeValidator.Validate(); Line 239: Line 240: lblMessage.Text = ""; Thanks for reading this much

    ASP.NET design csharp asp-net dotnet data-structures

  • Error while creating Validation control in Runtime
    L lijukv

    :) I want to use Range Validator for 3 text boxes, I don't want to provide three Range Validator in the Web form(ie no design time Range validator). I don't want to use CustomValidation control(since I have to provide the validation as a function) ----------------------------- Error Happens in the "Validate()" method. The code and Error description is given below RangeValidator objRangeValidator = new RangeValidator(); objRangeValidator.ControlToValidate = "txtPreviousCostToCompany"; objRangeValidator.Type = ValidationDataType.Integer; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.ErrorMessage = "Error"; objRangeValidator.Validate(); Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Source File: c:\inetpub\wwwroot\timesheetmanagement\recruitment.aspx.cs Line: 238 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() System.Web.UI.WebControls.RangeValidator.ControlPropertiesValid() System.Web.UI.WebControls.BaseValidator.get_PropertiesValid() System.Web.UI.WebControls.BaseValidator.Validate() HRMG.Recruitment.recruitment.cmdSave_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\timesheetmanagement\recruitment.aspx.cs:238 System.Web.UI.WebControls.Button.OnClick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 236: objRangeValidator.MinimumValue = "0"; Line 237: objRangeValidator.ErrorMessage = "Error"; Line 238: objRangeValidator.Validate(); Line 239: Line 240: lblMessage

    ASP.NET design csharp asp-net dotnet data-structures

  • Providing Validation Control in Runtime
    L lijukv

    :) RangeValidator objRangeValidator = new RangeValidator(); objRangeValidator.ControlToValidate = "txtPreviousCostToCompany"; objRangeValidator.Type = ValidationDataType.Integer; objRangeValidator.MaximumValue = "10"; objRangeValidator.MinimumValue = "0"; objRangeValidator.ErrorMessage = "Error"; objRangeValidator.Validate(); This is the error I am getting(I think for other validation controls also the same error) ------------------------------ Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Source File: c:\inetpub\wwwroot\timesheetmanagement\recruitment.aspx.cs Line: 238 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() System.Web.UI.WebControls.RangeValidator.ControlPropertiesValid() System.Web.UI.WebControls.BaseValidator.get_PropertiesValid() System.Web.UI.WebControls.BaseValidator.Validate() HRMG.Recruitment.recruitment.cmdSave_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\timesheetmanagement\recruitment.aspx.cs:238 System.Web.UI.WebControls.Button.OnClick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 236: objRangeValidator.MinimumValue = "0"; Line 237: objRangeValidator.ErrorMessage = "Error"; Line 238: objRangeValidator.Validate(); Line 239: Line 240: lblMessage.Text = "";

    ASP.NET design help

  • Creating Hyperlink column in runtime
    L lijukv

    Thanks for your reply. That code worked and it satisfies my condition.!that's cool! :)

    ASP.NET css design

  • Providing Validation Control in Runtime
    L lijukv

    I want to use Range Validator for 3 text boxes, I don't want to provide three Range Validator in the Web form(ie no design time Range validator). I don't want to use CustomValidation control(since I have to provide the validation as a function) RangeValidator objRangeValidator = new RangeValidator(); objRangeValidator.ControlToValidate = "txtPreviousCostToCompany"; objRangeValidator.MinimumValue = "0"; objRangeValidator.MaximumValue = "10"; objRangeValidator.Validate(); if(objRangeValidator.IsValid) lblMessage.text = objRangeValidator.IsValid.toString(); 1) but the validate method is generating error 2) If we don't provide the validate method the code is not having any effect

    ASP.NET design help

  • Creating Hyperlink column in runtime
    L lijukv

    Thanks for your reply previously also i tried with autogeneratecolumns = false. The recent code looks like this,but grid is not displayed. Dataset is having values ds = objDatalayerOperations.getPkeyDeta("hrmg_domainmaster","domaincode","102",cnn); grd.AutoGenerateColumns = false; HyperLinkColumn objHyperLinkColumn = new HyperLinkColumn(); objHyperLinkColumn.DataTextField = ds.Tables[0].Column[0].ColumnName.ToString(); objHyperLinkColumn.DataNavigateUrlField = ds.Tables[0].Columns[0].ColumnName.ToString(); objHyperLinkColumn.Target = "_blank"; objHyperLinkColumn.HeaderText = "Liju"; BoundColumn objBoundColumn = new BoundColumn(); objBoundColumn.DataField = ds.Tables[0].Columns[1].ColumnName.ToString(); objBoundColumn.HeaderText = "Liju2"; grd.Columns.Add(objHyperLinkColumn); grd.Columns.Add(objBoundColumn);

    ASP.NET css design

  • Creating Hyperlink column in runtime
    L lijukv

    :) I don't want anytype of column in design time!.I tried to create Hyperlink column in runtime using the below code, but no column is shown in the grid I want to have columns this way , without any databinding. HyperLinkColumn objHyperLinkColumn = new HyperLinkColumn(); objHyperLinkColumn.HeaderText = "Liju"; grd.Columns.Add(objHyperLinkColumn);

    ASP.NET css design
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups