Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:801915
More Search Options
RSS Available
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.
Posted to
Visual Web Developer 2005 Express
(Forum)
by
jchandra
on 6/19/2008
Page 1 of 20 (197 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online