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:364257
More Search Options
RSS Available
Matching Posts
Re: problem in grid view.
I think you need to post your full code here marking the place that generates an error (including html) Cheers
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/24/2006
Re: Why update and cancel buttons are disabled?!?!?!
This behaviour is cased by the fact that in Edit mode text in a bound field is shown in a textbox instead of being directly printed in a cell. Therefore the value of e.Row.Cells(4).Text in Edit mode will be empty and testing it against the usename will fail. To fix the problem i suggest you make sure that field 4 is read-only (which i guess must be the case anyways becuase you do not want a user to change the identity of the user who created the record) so simply set ReadOnly="true" for that field
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/24/2006
Re: SqlConnection Password problem
One common way of doing this is using the configuration file web.config to store the parameters that can change. In framework 2 those values can also be encrypted (or you can use your own encryption module with previous versions) Accessing a parameter from config file is straightforward and you have an ability to change those values without recompiling the application. I would asuggest you using integrated authentication with the SQL server but this might create additional problems if site allows
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/24/2006
Re: Why update and cancel buttons are disabled?!?!?!
Please post your grid's declaration and a code that disables element of it here. This most likely is related to the way you disable controls cheers
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/24/2006
Re: Change the Text of ButtonColumn in a DataGrid
Yes, you can. Either implement ItemDataBound event or loop through the items collection of the grid after databinding. In both scenarios you will have to set a reference to abutton rendered by the framework for you button column:(in your case i guess it is a link button instead of Button but you can adjust the code if it isnot so). Here is the code for second option for each itm as DataGridItem in DataGrid1.Items dim lnk as LinkButton = CType(itm.Cells(0).Controls(0).LinkButton) if lnk.Text = "1
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/23/2006
Re: Reuse an ItemTemplate in two different Repeaters?
There is a LoadTemplate method of the page that lets you do exactly that Cheers
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/20/2006
Re: checkbox in datagrid
If you want to add a checkbox to every row in a datagrid then you can use TemplateColumn for that: <asp:DataGrid....> <Columns> <asp:temlateColumn> <asp:Checkbox Id="chk1" runat="server" /> <asp:temlateColumn> </Columns> </asp:DataGrid> You can also databind its Checked property if needed (code was typed online so might require some final touch) Cheers
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/20/2006
Re: columns in datagrid
This article might be a good place to start - http://msdn.microsoft.com/msdnmag/issues/04/01/CuttingEdge/default.aspx Cheers
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/20/2006
Re: how view image dataGrid
Have a look at this article - http://aspalliance.com/articleViewer.aspx?aId=141&pId= - shows exaclty how to implement that sort of a solution. Cheers
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/20/2006
Re: Problem in paging while using sorting with fixed headers...
Please post your code here. Most likely you haven't properly linked the event handlers or, say, you are using ItemCommand event handler to do the sorting. If so, then you must make sure sorting logic is not executed when the paging link is clicked. Again, those are just my guesses, i need to see html and code to give more precise suggestions Cheers
Posted to
Data Presentation Controls
(Forum)
by
Bug_Bugger
on 1/20/2006
Page 1 of 451 (4505 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online