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:641156
More Search Options
RSS Available
Matching Posts
Re: Callback....
Hi: I haven't see much info about it, but you can read this posts of Bertrand Le Roy: Fun with callbacks Part 1: What's in the ASP.NET box? Fun with callbacks, Part 2: The RefreshPanel Fun with callbacks Part 3: Strongly-typed callbacks Fun with callbacks Part 4: what about postback events? To enable callbacks, set the EnableSortingAndPagingCallbacks property of your GridViews to true. However, if you have TemplateField columns the callbacks won't work. A better option (in my opinion) is to use an
Posted to
Client Side Web Development
(Forum)
by
Julián Hidalgo
on 2/23/2006
Re: Where can I find the user login name
Hi: What do you mean by "user login name"? If you mean the Windows username, you can't know it. If you mean the username of an authenticated user try User.Identity.Name. In the special case when you use Windows authentication User.Identity.Name will give you the Windows username (because the browser will send them to authenticate the user). Hope it helps. Julián
Posted to
Security
(Forum)
by
Julián Hidalgo
on 2/22/2006
Re: Using the new login control with 2.0 and another database
Hi: > it's possible to use the new asp.net 2.0 login control and have it authenticate to another database Yeap, just run aspnet_regsql.exe and select your database. The problem is that doing so won't make the provider use your tables, but to create a specific set of tables where it'll store the data. > if there is a way to tell the new asp.net login control to use X provider Of course, you only have to configure it. The login control will use the default MembershipProvider, unless you specify
Posted to
Security
(Forum)
by
Julián Hidalgo
on 2/22/2006
Re: securing an app -- using Location in the web.config
Hi: You need to add < deny users ="*" /> subtag below the < allow roles = " Web " /> Note that the order matters. Take a look at this post from Fredrik Normén to see what i mean: The authorization element Hope it helps. Julián Hidalgo
Posted to
Security
(Forum)
by
Julián Hidalgo
on 2/22/2006
Re: Granting access to site using Active Directory Security Group
Hi: You could perform a search in Active Directory an get the "memberOf" attribute of the user, and see if the group is there. Alternatively you could get the "member" attribute of the group and see if the user is there (a better option i think). If you don't know how to perform a search in AD take a look at this samples: Directory Services Samples Basic Directory Search Technology Sample Another option would be to use the IsUserInRole method of the WindowsTokenRoleProvider. Take a look at this:
Posted to
Security
(Forum)
by
Julián Hidalgo
on 2/22/2006
Re: unbound details view editing
Hi again Dear Julian, To further clarify things, Util.getRetailerID(UserID) is querying a database and returning a datareader with results from a sproc. Is there anyway of wiring up a GridView and DetailsView without an object data source in this way? e.g. wiring the whole thing programmatically? Based on my experiments i think it's difficult to put the DetailsView into edit mode when it's not bounded to a datasource that supports updating. I tried two things: 1) Change to edit mode when the user
Posted to
Data Presentation Controls
(Forum)
by
Julián Hidalgo
on 2/22/2006
Re: Custom Binding In GridView
Hi again AFAIK the GridView doesn't support foreign keys, so you have to use that method (or something similar) to lookup the value. I don't consider it lame, he's just using the ASP.NET capabilities. Greetings Julián Hidalgo
Posted to
Data Presentation Controls
(Forum)
by
Julián Hidalgo
on 2/21/2006
Re: Create a text box that is aligned to the right.
Hi To align text to the right: input#YOURTEXTBOXID { text-align: right; } See the CSS specification: 5.4.6 'text-align' To set the text direction you have to use the dir attribute. See the HTML specification: 8.2 Specifying the direction of text and tables: the dir attribute I'm assuming you know how to apply a css style and attributes to a control. Hope it helps Julián Hidalgo
Posted to
Localization
(Forum)
by
Julián Hidalgo
on 2/21/2006
Re: DataObjectSource Question
Hi I think this is because of the compilation model in ASP.NET 2.0. Take a look at this: More ASP.NET 2.0 Compilation Model issues - ASPX pages not visible to your app Rick Strahl says: " One page class can no longer see other page classes even if they live in the same namespace! This is because they get generated into a dynamic namespace that is not accessible at designtime. " Try something: put a label (Label1) in your web form and add this in the codebehind: Label1.Text = this.GetType().ToString
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
Julián Hidalgo
on 2/21/2006
Re: how to change the value of cell in gridview.
Hi You could try this in your markup: <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AutoGenerateSelectButton="True" OnSelectedIndexChanged="gvUsers_SelectedIndexChanged" DataKeyNames="IssueId" OnRowDataBound="gvUsers_RowDataBound"> <Columns> <asp:TemplateField HeaderText="A column"> <ItemTemplate> <% # (( string )Eval( "DATAFIELD" ) == "A" ) ? "ack" : Eval( " DATAFIELD " ) %> </ItemTemplate> </asp:TemplateField> </Columns>
Posted to
Data Presentation Controls
(Forum)
by
Julián Hidalgo
on 2/21/2006
Page 1 of 3 (24 items) 1
2
3
Next >
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
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online