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:863543
More Search Options
RSS Available
Matching Posts
What are the advantages/disadvantages of using typed datasets in ASP.NET 2.0?
We have an inherited ASP.NET 2.0 app whose pages use a FormView bound to an ObjectDataSource. The ObjectDataSource calls a C# object to get data. The controls in the FormView are bound to the data like this: <asp:TextBox id="txtSomething" runat="server" text="<% #Bind ("FIELDNAME") %>" /> I think this approach is not very clean: 1) the data and presentation are not cleanly separated, and 2) the values for some controls must be evaluated, formatted
Posted to
Data Presentation Controls
(Forum)
by
arecev
on 12/4/2009
Re: ASP.NET 2.0: XPath or programmatically read XML document?
Never mind. I can simply open the XML doc once, convert it to a dataset and tie the gridview to the dataset. Sometimes you have to back away from the problem to find the obvious answer...
Posted to
XML and XmlDataSource Control
(Forum)
by
arecev
on 11/24/2009
Re: ASP.NET 2.0: XPath or programmatically read XML document?
[quote user="kavita_khandhadia"] I did not get the first apprich..like why you want to use hiden fileds any way? [/quote] Thanks for the replies. The hidden field/XPath approach was not my idea: this is an inherited application in which the original developer used hidden fields to get certain values via XPath so they could set selected values in some dropdowns on the page. I do not have access to the original developer and the code is not well commented. That said, I would prefer to overhaul
Posted to
XML and XmlDataSource Control
(Forum)
by
arecev
on 11/23/2009
ASP.NET 2.0: XPath or programmatically read XML document?
Just confirming a thought: when an ASP.NET 2.0 page has a gridview with an XmlDataSource, it is more efficient to choose which when you must apply business rules to the data before displaying it? Approach #1: Set hidden inputs to the values in the XML document using XPath, get and process the data using GridViewRow.FindControl, then set a separate gridview control to the finished value. OR Approach #2: Programmatically loop through the XML document, processing the data then set the gridview control
Posted to
XML and XmlDataSource Control
(Forum)
by
arecev
on 11/20/2009
ASP.NET 2.0 - something like the include file from classic ASP?
In a multi-panel aspx, I have three panels ("screens") whose construction is identical. The only difference is that each has a unique datasource (the datasources have the same structure too) and each has unique names for the tags. I don't want to dynamically create the controls, but would like to re-use the same construction for each of the three identical pages. Is my only option to create a single aspx where the tags appear once, and set a session variable or some other value to control
Posted to
Web Forms
(Forum)
by
arecev
on 11/19/2009
Re: Parser error: Unknown server tag 'abc:TextArea'
Thanks, but we have since discovered a larger issue with this application. The machine from which I was publishing is somehow causing this problem. When I publish the same code from a different developer machine, this error does not occur. We are comparing the Studio 2005 build options on both machines to identify the issue.
Posted to
Configuration and Deployment
(Forum)
by
arecev
on 11/12/2009
Re: C# calendar control (date picker) with option for just month and year
Am customizing a version of the calendar control mentioned in the article above (also found at http://aspnet.4guysfromrolla.com/demos/Cal_3.aspx ) by adding a "day unknown" checkbox.
Posted to
Web Forms
(Forum)
by
arecev
on 11/7/2009
C# calendar control (date picker) with option for just month and year
I would like to create a calendar control in ASP.NET 2.0 a lot like the one described here: http://www.vbdotnetheaven.com/UploadFile/liammclennan/Datepickercontrol12052006234149PM/Datepickercontrol.aspx However, it must be flexible enough to allow the user to pick just month and year (it will autofill the day as first of selected month) or to pick month, day and year. Also, third-party and AJAX controls are not options for this project. Thanks.
Posted to
Web Forms
(Forum)
by
arecev
on 11/6/2009
ASP.NET 2.0 textbox - set text as combination of 3 XPath values?
Can an ASP.NET 2.0 textbox have its text set to a combination of three XML datasource values? For example, this textbox is in a gridview whose datasource is an XML document. Currently its text is set to one value: Text='<% #XPath("somedate/day") %>' , but I'd like to set text to day + "/" + month + "/" + year. Can this be done using Eval? Thanks!
Posted to
XML and XmlDataSource Control
(Forum)
by
arecev
on 11/6/2009
Re: ASP.NET 2.0 textbox - set text as combination of 3 XPath values?
[quote user="LuizFicer"] text = '<%# Eval("somedate/day")%> /<%# Eval("somedate/month")%>/<%# Eval("somedate/year")%>' [/quote] Thanks, but that syntax causes a build error. Maybe the XPath concat function is the answer, but am not sure of syntax.
Posted to
XML and XmlDataSource Control
(Forum)
by
arecev
on 11/6/2009
Page 1 of 13 (127 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Localizing ASP.NET MVC Validation
WindowsClient:
Debugging Crash Dumps with Visual Studio 2010
WindowsClient:
Debugging Crash Dumps with Visual Studio 2010
Channel 9:
Channel 9 Live at PDC09 Kurt DelBene
Channel 9:
Channel 9 Live at PDC09 Mike Anguilo
Channel 9:
Channel 9 Live at PDC09: Dean Hachamovitch
Channel 9:
Channel 9 Live at PDC09: Gary Flake
Channel 9:
Channel 9 Live at PDC09: Mark Russinovich and Patrick Dussud
Channel 9:
Ping 40: Black screen claims- retracted, Windows 7, Bing Maps, Office 2010
WindowsClient:
WPF Touch Basics
WindowsClient:
WPF Touch Basics
TechNet Edge:
AlignIT IT Manager Podcast #32: Agile Application Lifecycle Management
Channel 9:
Bharat Shah: Microsoft Online Services Overview
WindowsClient:
Holland America adds Surface to several ships in it’s new Mix lounge
ASP.NET:
RIA Services Link Listing #1
Channel 9:
Reactive Extensions API in depth: Merge
TechNet Edge:
Forefront Protection for Exchange customer story
WindowsClient:
Windows Client Developer Roundup for 12/7/2009
WindowsClient:
Introducing the new Bing Maps beta
ASP.NET:
My Presentations in Europe (December 2009)
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online