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:831828
More Search Options
RSS Available
Matching Posts
Re: Viewing XML processed document in ASPNET (C#)
Simpler solution: Use the XML control of ASP like shown here: http://articles.techrepublic.com.com/5100-10878_11-1050062.html in the asp page, just add the control. in the code page, just add the following 2 lines: xmlDoc.DocumentSource = Server.MapPath("xmlFilename"); xmlDoc.TransformSource = Server.MapPath( "xslFilename" ); And your good. Hope it helps other people. Regards,
Posted to
XML and XmlDataSource Control
(Forum)
by
Chryzo
on 3/3/2009
Re: Viewing XML processed document in ASPNET (C#)
Okay, So based on the idea about the pageload here is what i did: Created a masterpage and the default page. Put my tree in the masterpage and use an event to communicate with the default page. (The default page registers for the event & process the xml data) I used the following code: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls
Posted to
XML and XmlDataSource Control
(Forum)
by
Chryzo
on 3/2/2009
Re: Viewing XML processed document in ASPNET (C#)
No, the browser is doing the XSLT processing. My XML is linked to the XLST file. And thanks for the pageload idea. Though now I need to know how to pass a parmeter to the empty content page so that it loads a specific XML (but that I can look up myself)
Posted to
XML and XmlDataSource Control
(Forum)
by
Chryzo
on 3/2/2009
Viewing XML processed document in ASPNET (C#)
Hello, I have a serie of document that uses the same XLST file to be outputed in html form. Now what I would like to have, is on the left side of my page a tree which categories that includes items that points to the XML files. On the right side of the page the actual document as it is currently viewed if I load it into my browser. Except, I have no idea on where to start to achieve this. I would like to use a master page, but the content page is an aspx page. How would I actually load an XML page
Posted to
XML and XmlDataSource Control
(Forum)
by
Chryzo
on 3/2/2009
Re: Programmaticaly updating a set of drop down list
Found my problem. Once again it has to do with the GUID that is badly interpreted by sqlDataSource and DropDownLists. So what I have been able to find out is the following: If you cast the id as an NVARCHAR(36) for example, then the value in the dropdownlist is in uppercase (beats me why but that is how it is in my code) If you do not cast the id, then the value in the dropdownlist is in lowercase. In the case as can be seen in the code up, I had a ToUpper() which I removed and it solved the problem
Posted to
Web Forms
(Forum)
by
Chryzo
on 1/21/2009
Programmaticaly updating a set of drop down list
Hello, So, I have a form with 3 dropdownlist, Category, Model and Type and 2 textboxes. The dropdownlists are bound to sqlDataSources and uses procedures to retrieve information. Model depends on Category. Type depends on Model. Now everything works perfectly fine when via the web form when I want to create a new record. When I select a category, it populates correctly the Model and then correctly populate de Type dropdownlists. Now, however, when I select a record it gets quite complicated (at the
Posted to
Web Forms
(Forum)
by
Chryzo
on 1/21/2009
Re: Adding TreeNodes of TreeView Dynamically....
@ recursivity thingy If you have a SQL Server (2005 +) there is a really nice clause to help you with recursivity problem, it is the WITH clause, see example D of: http://msdn.microsoft.com/en-us/library/ms175972.aspx As for the other problem, dunno. Personaly I am trying to add child nodes when client clicks on parent node, but even though it is adding the node, it ain't showing up on the client. (I use a debug label to count the number of childnodes added to the parent node and it shows the
Posted to
Internet Explorer Web Controls
(Forum)
by
Chryzo
on 1/19/2009
DropDown in DetailsView
Okay, so I have been trying different ways to make this work but each time I endup with an error. So I have the following details view: < asp:DetailsView ID= "DetailsView1" runat= "server" AutoGenerateRows= "False" DataSourceID= "sqlWorkUnitsSource" DefaultMode= "Insert" Height= "50px" Width= "125px" > < Fields > < asp:BoundField DataField= "wuName" HeaderText= "Work Unit Name" SortExpression
Posted to
Data Presentation Controls
(Forum)
by
Chryzo
on 10/29/2008
Re: How to print all the pages of the Gridview or Detailview
Sorry for the necro, but I have yet to find a quick solution for this. So I just tried this solution of putting the gridview in a panel with a runat server tag, however I get the following error: System.Web.HttpException: Control 'ctl00_ContentPlaceHolder1_GridView1' of type 'GridView' must be placed inside a form tag with runat=server. But I can only have 1 form in an asp.net page, so it is kind of problematic. Any idea on how to solve this issue ? regards,
Posted to
Data Presentation Controls
(Forum)
by
Chryzo
on 10/28/2008
Re: DetailsView: Nothing showing if data returned by sqlDataSource is empty
Sorry, should have said it but I tried that, and still I was not able to get anything as an output. I still would like to know if it is a bug or not at the moment I am using a custom ugly form that I made to do the insertions.
Posted to
Data Presentation Controls
(Forum)
by
Chryzo
on 10/23/2008
Page 1 of 3 (26 items) 1
2
3
Next >
ASP.NET:
Death to confirmation dialogs with jquery.undoable
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online