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:635031
More Search Options
RSS Available
Matching Posts
Re: ComponentController in ASP.NET MVC 1.0 - Has it been removed?
I totally agree with Brad. I guess the MVC team slipped in the RenderAction helper for the exceptional cases like MasterPages
Posted to
ASP.NET MVC
(Forum)
by
Dsypher
on 11/10/2009
Re: ComponentController in ASP.NET MVC 1.0 - Has it been removed?
[quote user="bradwils"] ComponentController was removed long ago and replaced with RenderAction, which is in MVC Futures right now (and will be part of mainline MVC 2 when we ship the Beta). [/quote] Thanks Brad. If that is the case then I how can I display data in my master page? I dont want to put any data access logic inside my master page. Any suggestions?
Posted to
ASP.NET MVC
(Forum)
by
Dsypher
on 11/9/2009
ComponentController in ASP.NET MVC 1.0 - Has it been removed?
Hi, I pretty new to ASP.NET MVC so my apologies if the question sounds lame. I was watching the ASP.NET Storefront video series and Rob uses ComponentControllers to display data in the master page. How do I implement this in the latest release of MVC? I've read about SubContollers in MVC Contrib but I dont know how and if I should use it - I'm totally confused. Bump! Any sort of help would be greatly appreciated. Thanks
Posted to
ASP.NET MVC
(Forum)
by
Dsypher
on 11/8/2009
Filed under: ComponentController asp.net mvc 1.0
Re: How to add Text Box and/or Buttons to Datatable column
Hi Brendan, Are you trying to add texboxes/buttons to your DataTable?? Well, thats not possible. The DataTable is just your Data source - the object that populates your GridView. But, you can add them to the GridView using TemplateFields. For example, <asp:GridView ID="GridView1" Runat="server" AutoGenerateColumns="False"> <Columns> <asp:BoundField HeaderText="Product" DataField="ProductName></asp:BoundField> <asp:BoundField
Posted to
Web Forms
(Forum)
by
Dsypher
on 8/2/2009
Re: How to add Text Box and/or Buttons to Datatable column
In your CS file just databind your DataTable to the GridView after you have populated the DataTable like this, // 1. Add the columns and rows to your DataTable // 2. Next DataBind to GridView GridView1.DataSource = dt; GridView1.DataBind();
Posted to
Web Forms
(Forum)
by
Dsypher
on 8/2/2009
Re: I want user just allowed to insert number and , in textbox like 290,320,000
I use this excellent free control in many of my projects that limits the users input numbers eliminating the need of validation http://www.eworldui.net/CustomControls/NumericBox.aspx
Posted to
Web Forms
(Forum)
by
Dsypher
on 8/2/2009
Re: Issue with Javascript on Post Back
Hi, Try to avoid using the word "script" as your key. Try doing it this way: Page.ClientScript.RegisterStartupScript(typeof(Page), "myScript", fnDropdownvisibleenableScript, true); I tried it and it works. If it doesn't work for you, please post your code so we can find out the problem.
Posted to
Web Forms
(Forum)
by
Dsypher
on 7/13/2009
Re: open a new window from VWD using an URL
Are you trying to read/write doc files programmatically? If so, then you need Visual Studio Tools for Office - http://msdn.microsoft.com/en-us/vsto/dd162433.aspx
Posted to
Web Forms
(Forum)
by
Dsypher
on 7/11/2009
Re: Genrate OnMouseOver Event on Image Control
The ImageButton server control does not have a server-side event for onmouseover but we can add it manually. We have to add it as an attribute before it is rendered like so: protected override void OnPreRender(EventArgs e) { ImageButton1.Attributes.Add("onmouseover", "javascript:setTimeout('__doPostBack(\\'ImageButton1\\',\\'\\')', 0);"); base.OnPreRender(e); } Then in the page load you need to check if the ImageButton caused the post back and do your binding
Posted to
Web Forms
(Forum)
by
Dsypher
on 7/11/2009
Filed under: ImageButton onmouseover event
Re: response.redirect & hidden fields
[quote user="alex2go"] Ok to get at cmd.Value, you must add an attribute of "id=ex" to the cmd hiddenfield [/quote] If you check my code, I had added the ID attribute to the hidden fields. But I guess you didn't notice. [quote user="alex2go"] So for the final piece of the puzzle - how do you bind the response to the browser? - the POST of this data needs to result in the loading of a specific PayPal page for further customer processing.. [/quote] The last few lines
Posted to
Web Forms
(Forum)
by
Dsypher
on 7/8/2009
Page 1 of 10 (93 items) 1
2
3
4
5
Next >
...
Last ยป
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online