Search

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

Matching Posts

  • Re: yesterdays date

    I don't believe there is a built-in DateRange class in .NET Framework, so you will have to create one yourself. Here is one that someone already built.
    Posted to Getting Started (Forum) by jchandra on 6/25/2008
  • Re: client id issue

    Are you using something like: for ( int i = 0; i < maxFieldsToBeCreated; i++) { TextBox textBox = new TextBox(); textBox.ID = "blah" + i.ToString( "#0" ); Page.Controls.Add(textBox); } And this itself is in a user control level? Or is it at WebForm level? Are you hosting your WebForm inside a Master Page? I still say you will need to be concerned with the name mangling. Just be aware that your control name will be changed by ASP.NET when you render it if you are using User
    Posted to Web Forms (Forum) by jchandra on 6/25/2008
  • Re: client id issue

    Use the control UniqueID instead. So if you have <asp:Textbox ID="MyField" RunAt="server" />, you can do this on the server do: Request[MyField.UniqueID] to get the value using Request object. UniqueID will return the control name attribute of the HTML output... <input type="text" id="$ctl00_MyField" name="$ctl00$MyField" value="" /> See how ASP.NET mangled your control name... Fun, no?
    Posted to Web Forms (Forum) by jchandra on 6/25/2008
  • Re: calendar dilema.

    You need to handle the onselectionchange event of the Calendar control (the easiest way to do this is to double click the calendar control in design view) and add the event handler code behind like so: protected void Calendar1_SelectionChanged( object sender, EventArgs e) { Response.Redirect( "CalendarDetail.aspx?Date=" + Calendar1.SelectedDate.ToString( "dd-MMM-yyyy" )); } And in CalendarDetail.aspx, do something like: protected void Page_Load( object sender, EventArgs e) { if
    Posted to Web Forms (Forum) by jchandra on 6/25/2008
  • Re: dll file missing

    Your dll should be in the bin/Debug or bin/Release subfolder from wherever you save your solution / project, depending on your build. So if your solution is called Foo and you have a project in it called Bar which is saved in your My Document/Visual Studio 2008/Projects, the final place should be something like: My Document/Visual Studio 2008/Projects/Foo/Bar/bin/Debug, check in there.
    Posted to Getting Started (Forum) by jchandra on 6/25/2008
  • Re: Drop Down List Pass value using request query string problem

    Assuming that the code you gave is the actual code, I don't see how you can get the ISBN, Publisher, Author, and Title from the querystring since upon the redirect you didn't attach any of those to the redirect Url. All I see is the keyword (which you should get no matter what in the SearchResult.aspx page). You'll need to pass the rest of them to the redirect Url also. Your Url should be something like SearchResult.aspx?keyword=_WHATEVER_KEYWORD_&Title=_WHATEVER_TITLE_ if the keyword
    Posted to Web Forms (Forum) by jchandra on 6/25/2008
  • Re: Rest Api

    Do you mean call a REST style web service? Just create a HttpRequest object and pass the Url to it (w/ the embedded parameters), set the method to the right method (GET/POST/DELETE, etc.) and read back the returned data using HttpResponse object from the HttpRequest object and parse that. See this blog article .
    Posted to Getting Started (Forum) by jchandra on 6/25/2008
  • Re: Compound Objects or not to Compound Objects...

    Not too clear what you are trying to accomplish here. Can you put it in a context? Because depending what the context is, the architecture might be totally different. Example context: a web application with multiple users that while one user is looking at your compound object, another is updating a part of that compound object on a different session? How are you going to display the object? Only at the parent level and then people can drill into it to see the child objects on a different page? How
    Posted to Architecture (Forum) by jchandra on 6/24/2008
  • Re: connect javascript to the database

    This is not possible to do just with JavaScript. However, you can do this with AJAX. Have your JavaScript talk to a web service that will pull the data for you and remote it back to the client side (either as JSON or DataSet, etc.). Take a look at this MSDN Magazine article .
    Posted to Client Side Web Development (Forum) by jchandra on 6/24/2008
  • Re: Visual Studio Web Developer Express Debugger Problem

    You might want to be sure that you are using the Debug Build instead of Release Build. Most of the time, you can't debug a Release Build since the debugging info are disabled by default on that mode.
Page 1 of 20 (197 items) 1 2 3 4 5 Next > ... Last »