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:673741
More Search Options
RSS Available
Matching Posts
Re: objectdatasource filterexpression onfiltering
I have now resolved this issue by setting the filterexpression property behind a button event.
Posted to
Data Presentation Controls
(Forum)
by
Maddog C
on 11/18/2008
objectdatasource filterexpression onfiltering
I have a gridview bound to an objectdatasource. I have a text box on my page that I want to use as a generic search box. My filterexpression includes both string and date fields. if I set my filterexpression to Filterexpression=" SURNAME LIKE '%{0}%' OR MY_DATE ='{0}' ", the filter works if I put in a date but fails if I don't put in a date with Cannot perform '=' operation on System.DateTime and System.String If I set the filterexpression to Filterexpression
Posted to
Data Presentation Controls
(Forum)
by
Maddog C
on 11/18/2008
Re: XMLDatasource Datafile and Session Variable
Thanks for the reply. I don't want to put it in the Page Load because it causes a knock on effect with the Treeview. I have included some Javascript in my page to maintain the scroll position of the node in the treeview, If I refresh the datafile in the page load the scroll position is lost.
Posted to
XML and XmlDataSource Control
(Forum)
by
Maddog C
on 9/3/2008
XMLDatasource Datafile and Session Variable
Is there a way to set the datafile for an xmldatasource to a session variable? At the moment I have the following, but this gives "Object reference not set to an instance of an object." <asp:XmlDataSource ID="XmlDataSource1" EnableCaching="false" DataFile='<%#Session["myFile"].ToString()%>' Runat="server" TransformFile="Tree2.xsl"> </asp:XmlDataSource>
Posted to
XML and XmlDataSource Control
(Forum)
by
Maddog C
on 9/2/2008
Re: treeView dynamic data source
I have a very similar situation to this. I change the XMLdatasource datafile on page load. Seems that it has to go in the Page Load event, is the correct? This causes a knock on problem with regard to the Treeview. I am using some Javascript to maintain the scrollback position of the treeview on postback, but as the datafile is reloaded on Page Load the scroll position is lost. Is there a way around this?
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
Maddog C
on 9/2/2008
Re: Treeview scroll to selected node
I now have the Javascript for this working, however, I am combining this with the need to load the XMLDatasource.Datafile on page load. If I comment out the line that changes the datafile, the scroll position is maintained, however I am then connecting to the wrong datafile. Any thoughts on how to combine the two?
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
Maddog C
on 9/1/2008
Re: Treeview scroll to selected node
I've just returned to this and am still struggling. I've had a look at the link, basically I need to add the following Javascript to my page. The question is where? I can use RegisterStartupScript, but have viewed a view posts regarding this, none of which seem to give a definitive answer. tvNavigation_Data.selectedNodeID.value; var selectedNode = Document.all?Document.all[name]:Document.getElementById(name); if(selectedNode){ selectedNode.scrollIntoView(true); }
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
Maddog C
on 8/19/2008
Site management
I need to write an asp.net application to manage the security for a number of websites using Role-Based security, Windows Authentication and SQL Server. I need to be able to pick an application from a list, then add/remove roles and users for a particular application. I have the role-based security set up for individual applications, but want one site to do all the management. How do I go about this?
Posted to
Security
(Forum)
by
Maddog C
on 7/15/2008
Re: User control in Formview
Gabriel I have resolved this problem. Your original code you sent was correct. The problem was with the control itself. I downloaded the user control (datepicker) from http://www.codeproject.com/KB/user-controls/DatePickerUserControl.aspx?msg=2559489#xx2559489xx As I couldn't the reference to it, I decided to rebuild the control from scratch. The reason for the problem seems to be that, although the control was called date.ascx, the inherits statement was set to Calendar_Date. The partial class
Posted to
Data Presentation Controls
(Forum)
by
Maddog C
on 6/4/2008
Re: User control in Formview
.
Posted to
Data Presentation Controls
(Forum)
by
Maddog C
on 6/4/2008
Page 1 of 5 (46 items) 1
2
3
4
5
Next >
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
Channel 10:
Bing for Windows Mobile Updated
WindowsClient:
New WPF Showcase: Bling Tweets
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
TechNet Edge:
Forefront TMG URL Filtering and MRS
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online