Search

You searched for the word(s): userid:823286

Matching Posts

  • Re: A question about using built-in controls

    Hello Joe, That's why .NET Frameowrk is there. We should always use ASP.NET Controls and it's too flexible and extensible. And as per my Industry knowledge we always use ASP.NET Controls. Because they are tested and proven and followed best practices. You can start using this quickstart -- http://quickstarts.asp.net/quickstartv20/aspnet/ Once you start using it as per your requirement. you will love using it! note my words :) Cheers, Kiran
    Posted to Web Forms (Forum) by klpatil on 11/13/2009
  • Re: System.NullReferenceException while trying to get connectionstring

    Hi Buddy, You can use : System.Configuration.ConfigurationManager.ConnectionStrings["CONNECTIONSTRINGNAME"]; You might need to add Reference : System.Configurartion for your project. And from where you are referring this connection string? If from Class Library then it needs some special handling? Cheers, Kiran
    Posted to Getting Started (Forum) by klpatil on 11/2/2009
  • Re: Custom Validator problem

    Hello, You should write a code in DropDownList_SelectedIndexChanged with AutoPostback="true" and in that you can write logic which checks that if value is 1 then you can set your customvalidator's ControlToValidate property to selected DropDownlist. Thanks, Kiran
    Posted to Getting Started (Forum) by klpatil on 11/2/2009
  • Re: Not able to read from Gridview Text Box during Update Mode

    Hi, How you are binding the data. If on page_load then pls check that you are binding it once only. You can do it by checking IsPostBack property of a page. e.g. If(!Page.IsPostBack) { //bind data }
    Posted to Data Presentation Controls (Forum) by klpatil on 10/6/2009
  • Re: MasterPage shared between multiple sites

    Hi, As given on this blog - http://www.simple-talk.com/dotnet/asp.net/asp.net-master-pages-tips-and-tricks/ it is not possible. But he has suggested few hacks which are as under: 1. http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx [this you already know] 2. http://blogs.msdn.com/shahpiyush/archive/2007/03/09/Sharing-Master-Pages-amongst-Applications-by-Embedding-it-in-a-Dll_2E00_.aspx
  • Re: How to update multiple detailsview on a page on click of a button control

    Hi, DetailsView.UpdateItem Method works for you? - http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.detailsview.updateitem.aspx Because it has been designed for your purpose only. See MSDN Says " When the DetailsView control is in edit mode, use the UpdateItem method to programmatically update the current record in the data source. This method is commonly used when you need to update the current record from outside of the DetailsView control, such as from a different control
    Posted to Data Presentation Controls (Forum) by klpatil on 10/6/2009
  • Re: Applying pagination to the xml results using xslt in .Net

    Hi Guys, I have to show transformed XML. I have used XML Control for this. <asp:Xml ID="xmlNews" runat="server" DocumentSource = "~/XML/cdcatalog.xml" TransformSource = "~/XML/cdcatalog.xsl"> </asp:Xml> So far so good..it works fine. It shows transformed data. But I want to show the data using Pagination. Can someone guide me how can i do that with XML Control or any other alternative? NOTE: Xml files and xsl files can be fetched from here : http
    Posted to XML and XmlDataSource Control (Forum) by klpatil on 9/10/2009
  • Re: Accessing showModalDialog arguments at server side

    Hi, write body's onload method of your ChildPage.aspx e.g. SetInitialData() <body onload=" SetInitialData() "> and in that js function do something like below: function SetInitialData() { if(window.dialogArguments!="") { document.getElementById('hfUserName').innerHTML = window.dialogArguments; // hfUserName is your hidden field. which must exsit on your chidpage.aspx //TO TEST : Try alert to test hidden field's value set or not } } So far so good, now on
    Posted to Client Side Web Development (Forum) by klpatil on 8/7/2009
  • Re: Conversion Questions

    Hi, I am not sure under website you can have plain vanilla folder which can have class files which can be compiled and used.. Whatever projs. i have seen/worked all have Class Library/Web Control library and all the controls sits under it and website has project reference of it -- am i clear? you can follow the approach given above. And to register a user/control or custom control at one centralized location -- web.config is the best way like this: < ?xml version ="1.0"?> < configuration
  • Re: Installer for setup of Windows Service

    Hi, Custom Actions/Custom Installer is the solution for your requirement, You have to write a class library implementing the logic and you can add that dll to custom actions --See below references http://msdn.microsoft.com/en-us/library/d9k65z2d(VS.80).aspx http://blogs.msdn.com/astebner/archive/2005/10/30/487015.aspx http://msdn.microsoft.com/en-us/library/aa367431(VS.85).aspx http://msdn.microsoft.com/en-us/library/aa372409(VS.85).aspx
    Posted to Visual Studio 2008 (Forum) by klpatil on 7/31/2009
Page 1 of 21 (204 items) 1 2 3 4 5 Next > ... Last »