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:542346
More Search Options
RSS Available
Matching Posts
Re: XHtml...
I'm experiencing the same problem, in my base MasterPage class I do the following: 1 ' Content Type 2 Dim contentType As String = Nothing 3 If Request.AcceptTypes IsNot Nothing Then 4 If Array.IndexOf(Request.AcceptTypes, "application/xhtml+xml" ) > -1 Then 5 contentType = "application/xhtml+xml" 6 Else 7 contentType = "text/html" 8 End If 9 Else 10 contentType = "application/xhtml+xml" 11 End If 12 13 ' Configure response 14 Response.ContentType
Posted to
Getting Started
(Forum)
by
andrewgarner
on 9/14/2007
Re: Problem with WebResourceAttribute and paths
Thank you so much! I've just tried that and it works!
Posted to
Custom Server Controls
(Forum)
by
andrewgarner
on 4/23/2007
Problem with WebResourceAttribute and paths
This problem has been puzzling me all day - I am attempting to embed resources within a class library, buy I can only get it to work when the files are within the root of the class library. My default namespace is Lighthouse.Software.Library.Core - I have added Test.css and Test.png to the root of the class library, then within the class I have the following code: < Assembly : WebResource( "Lighthouse.Software.Library.Core.Test.css" , "text/css" , PerformSubstitution:= True )> < Assembly
Posted to
Custom Server Controls
(Forum)
by
andrewgarner
on 4/20/2007
Filed under: Web Resources
Re: Creating a custom DataGrid event
When i sort i loose the search criteria paramater and return to the original datagrid with all the data present. I need to be able to maintain the search criteria paramater somehow, hence my original thought to try and mimic the way pageindex events occur for search events.
Posted to
Data Presentation Controls
(Forum)
by
andrewgarner
on 2/6/2005
Re: Creating a custom DataGrid event
Hi, I'm doing all the binding etc inside the datagrid itself, I just pass in the SQL SELECT statement and hey presto. My problem lies in that i want to be able to pass in the WHERE clause of the SQL command when the users chooses to execute a search. I have achieved this using a paramater. The problem i'm having is that i cant keep this state over pages or sorting. If i force the grid to be bound from the base webform then this breaks the ability to access datakeys using a function in the datagrids
Posted to
Data Presentation Controls
(Forum)
by
andrewgarner
on 2/4/2005
Creating a custom DataGrid event
I'm looking for some general guidance and maybe some rough code on how to create a custom event within a custom DataGrid. Basically, I have a custom DataGrid in which i want to be able to override a custom event in the same mannor as you do for OnPageIndexChanged and OnSortCommand. From a button click event on the parent webform i want to raise this event a pass a search criteria string which will then be used within the datagrid to filter the results it displays. e.g. Protected Overrides Sub OnSearchCommand
Posted to
Data Presentation Controls
(Forum)
by
andrewgarner
on 2/3/2005
Get selected keys method
Hi, I am trying to write a method within a custom DataGrid that returns an ArrayList of all the DataKeyField entrys that have been selected. Selection of a row is done with a checkbox (ala hotmail). I have created a property as an ArrayList which I am using: ' PROPERTY: An ArrayList of the selected DataKeyField id's Public ReadOnly Property SelectedKeys() As ArrayList Get ' Iterate through all datagrid items For Each item As DataGridItem In MyBase.Items ' Get checkbox Dim checkbox As CheckBox = CType
Posted to
Data Presentation Controls
(Forum)
by
andrewgarner
on 12/7/2004
Custom DataGrid Control event handling
I am creating a custom datagrid control that will be used many times across a web application. I am trying to build as much functionality into the control itself as possible so that my web form code is as simple as possible. I am trying to build in event handling code for paging and sorting. I have the following: Private Overloads Sub OnPageIndexChanged(ByVal sender As Object, ByVal e As DataGridPageChangedEventArgs) Handles MyBase.PageIndexChanged MyBase.CurrentPageIndex = e.NewPageIndex End Sub
Posted to
Data Presentation Controls
(Forum)
by
andrewgarner
on 11/25/2004
Page 1 of 1 (8 items)
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
WindowsClient:
JSON-P: An Elegant Hack
Channel 9:
Photosynth Update and New UI
Channel 9:
First Look: Streetside in Bing Maps
Channel 9:
Coding4Fun at PDC 2009
WindowsClient:
10 Must-See PDC 09 Sessions
Channel 10:
Photosynth Updated with New Release and New UI
Channel 10:
WindowsBlinds 7 Now Works with Windows 7
Channel 10:
Zune HD Launches New Colors
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online