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:862184
More Search Options
RSS Available
Matching Posts
Re: How to get a ListView Delete Item Confirmation when using HoverMenuExtender and Menu Control
ok, below is some markup and the related code-behind, with these notes: I chose to do all the MenuItem construction in the code-behind to avoid a lot of 'Eval'-ing in the markup, passing the Value and Text just once. In the code-behind I found that I had to declare the method arguments as type Object and then cast them to string, or the CLR complained about invalid types at run time. I chose to implement the returned MenuItem content as a DIV enclosing both the desired image and the specified
Posted to
Data Presentation Controls
(Forum)
by
RabidJay
on 7/12/2009
Re: How to get a ListView Delete Item Confirmation when using HoverMenuExtender and Menu Control
sure np - as I mentioned the HoverMenuExtender's Target is a Menu Control. Below is the Menu markup and the (partial ) code-behind <asp:Menu runat="server" id="uxMenuFormsItem" StaticMenuItemStyle-CssClass="itemHoverMenuItem" StaticHoverStyle-CssClass="itemHoverMenuItemHover" CssClass="itemHoverMenu" style="display:none;" OnMenuItemClick="ListViewForms_ItemMenuClick"> <Items> <asp:MenuItem ImageUrl="~/resources
Posted to
Data Presentation Controls
(Forum)
by
RabidJay
on 7/11/2009
Re: How to get a ListView Delete Item Confirmation when using HoverMenuExtender and Menu Control
Thanks for your help - the "creative" solution is well creative, but leaves the Image out of the picture (pun intended). I had tried the LinkButton idea earlier but then to have an image on each item one has to add a separate ImageButton and code both controls to handle the clicks, which although a solution seems a bit kludgy. No more time to mess with it though ('perfect is the enemy of done') so looks like its that or nothing . Odd that we build a Menu Extender that doesn't
Posted to
Data Presentation Controls
(Forum)
by
RabidJay
on 7/11/2009
How to get a ListView Delete Item Confirmation when using HoverMenuExtender and Menu Control
Aplogies in advance if this belongs on the Client-Side thread, it could likely be either or both. I have a ListView in which the ItemTemplate includes a HoverMenuExtender and cleverly, I am using a MenuControl as the HoverMenuExtender's target. There, I have set the 'OnMenuItemClick' handler and attached appropriate 'value's to each menu item, to differentiate the clicker's intent. My problem is the ListView's Item Delete function. Previously (Pre-HoverMenuExtender) it
Posted to
Data Presentation Controls
(Forum)
by
RabidJay
on 7/10/2009
Re: ListView stays in Edit mode on page reload - ?ViewState?
uh-huh.. I guess I was having an A.D.D. day today... of course that works... thanks for clearing my fog :-)
Posted to
Data Presentation Controls
(Forum)
by
RabidJay
on 7/9/2009
ListView stays in Edit mode on page reload - ?ViewState?
I have a Master/Content page with a ListView using an ObjectDataSource, inside an UpdatePanel. The menu item (LinkButton for now) that loads the content page is on the Master. The ListView loads properly and on the Edit Command enters Edit mode as expected, but - if the user clicks the menu item (rather than 'cancel' or update' on the EditItemTemplate) the page re-loads with the ListView still in EditMode. From a user's view if I am clicking the Menu Item again, I think I am saying
Posted to
Data Presentation Controls
(Forum)
by
RabidJay
on 7/8/2009
Filed under: ListView Viewstate Edititemtemplate
Re: Could not find a property named ... on the type specified by the DataObjectTypeName
In case anybody else runs into this for Update operations - in stepping through the Update process (Listview EditItemTemplate) , the runtime instantiated my business object using it's default constructor even if I supplied a fully parameterized constructor, so it seems logical that, if you are passing a BO instance to the Update method you defined, it would need accessible BO properties with names that match those used when it first retrieved /bound the data. ie - if it doesn't have a complete
Posted to
Data Presentation Controls
(Forum)
by
RabidJay
on 6/8/2009
Filed under: updating, user control code behind datalist, business object, BusinessObject Data Source, data source
Editing a Row in a Nested On-Demand Repeater
hello all - I am converting an asp.net site that uses DataLists, to Asp.Net Ajax. The site needs a nested data grid layout with the ability to edit the data belonging to a row of the child grid. So far I have a GridView parent, and an Expander that opens on demand, wired up to a PageMethod that renders a UserControl (.ascx) containing a Repeater with the child rows. Works well, except that despite several approaches I cannot get a DetailView or a FormView to open up with the child row data, even
Posted to
ASP.NET AJAX UI
(Forum)
by
RabidJay
on 4/18/2009
Re: Problem replacing UserControl in Update Panel
you are joking, right? Sorry a bit of frustration showing I guess... Thanks for the link to the Video, I'll look at it but I don't think Webparts are the answer to this at least I sincerily hope not. There has to be a way to do this more directly without adding another technology into the mix.... Frankly, if I was coding this in Classic ASP I'd simply have a client-side HTTPRequest grab an 'include' file (AKA UserControl) and stuff it into the DOM, repalcing the HTML that called
Posted to
ASP.NET AJAX UI
(Forum)
by
RabidJay
on 3/28/2009
Problem replacing UserControl in Update Panel
Greetings - Any help on this one is greatly appreciated, my eyes are glassy and wife says I have been drooling... I am working on a legacy ASP.Net site that uses Page.LoadControl to load all site content into a single page (Default.aspx ) in the form of UserControls. The site now wants to use Ajax to load the existing UserControls instead of the existing full-page postbacks / querystrings. The idea is to implement Ajax without having to refactor all of the UserControls into Content Pages for a Master
Posted to
ASP.NET AJAX UI
(Forum)
by
RabidJay
on 3/28/2009
Page 1 of 1 (10 items)
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.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online