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:688762
More Search Options
RSS Available
Matching Posts
Problem with code rendering block in VB.NET
I have a usercontrol which has a property GridView. On a web page of a VB.NET project, I try to set this property like this: <cc:MyUserControl ID="ctrl" runat="server" GridView='<%= MyGridView.ClientID %>' /> MyGridView is a GridView component which is also on the page. But the property of the usercontrol is not set with the clientid of the gridview, but literally with the text '<%= MyGridView.ClientID %>'. What am I doing wrong?
Posted to
Web Forms
(Forum)
by
ngruson
on 6/4/2009
Re: How to automatically send denied users to "access denied" page, instead of a login prompt only then to be sent to "access denied" page
Maybe you can take a look at the HttpModule mentioned on this page: http://flimflan.com/blog/HttpModuleToAllowACustomErrorPageFor4012AccessDeniedInASPNET.aspx I've used it in my application to redirect users with no authorization for my application to an error page.
Posted to
Security
(Forum)
by
ngruson
on 4/3/2009
Re: Logging Windows authentication
I wrote some code in the Session_Start event in Global.asax to write a login attempt to a database table. The application is now deployed to a test environment which runs on a test domain. When I try to access the application from my development machine, I get a popup where I have to fill in my credentials. When I fill in the right credentials for the test domain, my login attempt is succesfully logged to the database table. But when I fill in the wrong password, I get a HTML page with the message
Posted to
Security
(Forum)
by
ngruson
on 4/2/2009
Logging Windows authentication
I have an ASP.NET application which uses Windows authentication. A certain Windows group has been given access: <authentication mode="Windows" /> <authorization> <allow roles=".\MyAppUsers" /> <deny users="*" /> </authorization> Now I want to log in a database table which users succesfully and unsuccesfully try to access the application. But I don't want this for every request a user is making; this would result in an overload of authentication
Posted to
Security
(Forum)
by
ngruson
on 3/6/2009
Filed under: windows authentication
Re: Format text of a button
[quote user="ukr"]Sorry, Missing the syntax line previously... <asp:Button ID="Button2" runat="server" Text="Button" style="font-weight:bold;" /> [/quote] This will make the whole text of the button bold. I only want one letter of the text to be bold.
Posted to
Web Forms
(Forum)
by
ngruson
on 12/12/2008
Re: Format text of a button
[quote user="mudassarkhan"] Use Text = "<b>T</b>" [/quote] I already tried that, but that results in being the text of the button '<b>T</b>' instead of ' T '
Posted to
Web Forms
(Forum)
by
ngruson
on 12/12/2008
Format text of a button
I have a Button on a web form. I want to make one letter of the button's text bold. How can I do this? For a html button I know how to do this, but for a serverside button, I can't get it done. <button id="btnTest" runat="server">T<b>e</b>st" </button> This will make the letter e bold in a html button. But the same can't be used for an serverside button, because the html tags are being escaped (< becomes <, > becomes >
Posted to
Web Forms
(Forum)
by
ngruson
on 12/12/2008
Remove a node from a TreeView
I'd like to remove a node from a treeview. I've used a sitemap to fill the treeview. The sitemap looks like this: < siteMap xmlns= "http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > < siteMapNode title= "My Computer" > < siteMapNode title= "Favorites" > < siteMapNode title= "News" > < siteMapNode title= "MSN" url= "http://www.msn.com" /> < siteMapNode title= "MSNBC News" url= "http
Posted to
Data Presentation Controls
(Forum)
by
ngruson
on 11/6/2008
Filed under: sitemap, treeview
TreeView Height
I placed a TreeView control in a td of HTML table. The height of the table is set to 100%. It seems that the TreeView is also rendered to fill the whole td. The space between nodes in the TreeView is too large now. How can I set up the TreeView so that the nodes are close to each other. In fact, I'd like to ignore the fact that the table's height is set to 100%. Can anyone help me out with this one? Greets, Nils Gruson
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
ngruson
on 10/27/2008
Filed under: TreeView asp.net 2.0
Extender provider properties not rendered on a page with MasterPage and UpdatePanel
I wrote an extender which provides a property for other controls. When the extender is dropped on a web form, all the controls are extended with this extra property. When I select a textbox on the web form and set the provided property in the designer, the generated html of the extender looks like this: < asp:CustomServerControl ID= "CustomServerControl1" runat= "server" > < Items > < asp:MyItem ControlId= "TextBox" Value= "This value is set in the
Posted to
Custom Server Controls
(Forum)
by
ngruson
on 12/19/2007
Filed under: extender, UpdatePanel, master page
Page 1 of 20 (197 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online