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:651730
More Search Options
RSS Available
Matching Posts
Re: web.config users
It is the same as deny anonymous users. Because if they aren't anonymous they have logged in and authenticated. <deny users="?"/> <allow users="*"/> This will only let in known users.
Posted to
Security
(Forum)
by
rojay12
on 10/17/2009
Re: GridView Edit FInd Control
Just use AgentEdit for the ControlID not the autogenerated value. It is smart enough to know what row is currently in "Edit Mode". If you want to get the value from the code behind you can do this on the RowUpdating Event. <asp:GridView ID="GridView1" runat="server" onrowupdating="GridView1_RowUpdating"> </asp:GridView> protected void SqlDataSource1_Updating(object sender, SqlDataSourceCommandEventArgs e) { DropDownList AgentEdit = (DropDownList
Posted to
Data Presentation Controls
(Forum)
by
rojay12
on 10/17/2009
Re: button Click event all ddl controls in a panel set selectedindex to 0
this can be optimized
Posted to
Client Side Web Development
(Forum)
by
rojay12
on 9/10/2009
Re: positioning float with clear
Here is a really comprehensive guide. I always refer back to it when I have positioning questions. http://www.noobcube.com/tutorials/html-css/horizontal-and-vertical-centering-using-css-a-beginners-guide-/
Posted to
Client Side Web Development
(Forum)
by
rojay12
on 9/10/2009
Re: button Click event all ddl controls in a panel set selectedindex to 0
are you using jQuery? If you aren't you should look into it. if so add a class to each DDL CssClass="panelDDL" then do this... <asp:Button ID="ResetDDL" runat="server" Text="Reset DDL" /> <script type="text/javascript"> $(document).ready(function(){ $('#<%= ResetDDL.ClientID %>') .click(function(){ $('.panelDDL').attr('selectedIndex', 0); return false; }); }); </script> if you aren't using jQuery
Posted to
Client Side Web Development
(Forum)
by
rojay12
on 9/10/2009
Re: Validate Dropdownlist
Required field validator will do it. <asp:DropDownList ID="DropDownList1" runat="server" CssClass="panelDDL"> <asp:ListItem Value="-1" Text="-Please Select-" /> <asp:ListItem Value="1" Text="1" /> <asp:ListItem Value="2" Text="2" /> <asp:ListItem Value="3" Text="3" /> <asp:ListItem Value="4" Text="4" /> </asp:DropDownList> <asp
Posted to
Web Forms
(Forum)
by
rojay12
on 9/10/2009
Re: Web.config - set key values based on environment
In .Net 3.5 and lower there is no clean way I have found. In 4.0 things are going to change. The way I do it in 3.5 and lower is: In the web.config <appSettings> <add key="Dev_Key1" value="1"/> <add key="Dev_Key2" value="2"/> <add key="Prod_Key1" value="3"/> <add key="Prod_Key2" value="4"/> </appSettings> Then create an easy interface to reference class these: ''' <summary>
Posted to
Configuration and Deployment
(Forum)
by
rojay12
on 9/10/2009
Re: Db connection via web.config problem
sconnection = ConfigurationManager.AppSettings("QMain").ToString()
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
rojay12
on 9/10/2009
Re: Adding HTML to SQL insertions
If you code please post some code. I suspect on scenerio 1 you are not implamenting it correct. On scenrio two, the < (&lt;) is getting encoded some how. This prevents javascript injections. Also check out the HTMLDecode and HTMLEncode methods. http://msdn.microsoft.com/en-us/library/system.web.httputility_methods.aspx
Posted to
Web Forms
(Forum)
by
rojay12
on 9/1/2009
Re: How to use a search string with inline parameterd code
Could it be you have hard coded <aword> in the parameter? SqlParameter myParam = new SqlParameter ( "@keyCommentWord" , "<aword>" ); This word for me... DataSet GetReportedComments(string keyCommentWord) { string Sql = "SELECT rc.id as debugcommentid,* from tbl_comments c " + "INNER JOIN tbl_Reported_Comment rc " + "ON rc.commentid=c.commentid " + "WHERE c.inappropriate_flag = 1 " + "AND c.deleted != 1 " + "AND
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
rojay12
on 9/1/2009
Page 1 of 69 (685 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