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:651018
More Search Options
RSS Available
Matching Posts
Re: Multiple DataContexts
[quote user="FutureGUIs"] Anyone having any luck getting multiple DataContexts to work in one page? [/quote] I assume you are talking about Sys.Data.DataContext, and not whatever the last poster is referring to. What specific problem are you having?
Posted to
ASP.NET Ajax Library (Including the Ajax Control Toolkit) BETA
(Forum)
by
InfinitiesLoop
on 12/3/2009
Re: Sys.UI.DataView 'command' event
Note that the command event handles any bubbling command, not just "select". Hence the event's generic nature. But anyway, DataView has a findContext method. You can pass in a DOM element, and it will return the Sys.UI.TemplateContext which was used to create that DOM element. TemplateContext has a .index field, among lots of other useful things, which will be the selected index. The args to the command event includes what DOM element caused the command.
Posted to
ASP.NET Ajax Library (Including the Ajax Control Toolkit) BETA
(Forum)
by
InfinitiesLoop
on 12/3/2009
Re: Multiple DataContexts
Nope -- curious what your scenario is though.
Posted to
ASP.NET Ajax Library (Including the Ajax Control Toolkit) BETA
(Forum)
by
InfinitiesLoop
on 12/3/2009
Re: Model Popup on a detail view
Not sure if this the only problem, but Sys.get takes a selector, not an element id. So you would use Sys.get("#foo"), not Sys.get("foo"), to get an element with the id 'foo'. The way you have it, Sys.get is returning null, because Sys.get("foo") tries to find an element with the tag name 'foo'.
Posted to
ASP.NET Ajax Library (Including the Ajax Control Toolkit) BETA
(Forum)
by
InfinitiesLoop
on 11/23/2009
Re: hoverMenu
The docs on using the ACT controls client side are limited right now. Many of them are documented here (but not HoverMenu, yet): http://www.asp.net/ajaxlibrary/learn.ashx When all else fails you can always take a look at the $create line generated by the ACT's equivilent server control. The properties it defines, and the markup it renders, will tell you everything you need to know about how to instantiate the control. These controls are largely unchanged client-side, so for the first time you
Posted to
ASP.NET Ajax Library (Including the Ajax Control Toolkit) BETA
(Forum)
by
InfinitiesLoop
on 11/19/2009
Re: ASP.NET AJAX 4.0 Preview 4 Questions
1. We're looking to improve this scenario. A better way in the meantime, if you know the id of the dataview you are within, would be $find('foo').get_data().length. 2. We're also looking to improve this scenario. In the meantime, you could do it manually by showing a separate div when there is no data. Or you could use a binding by setting an element's visibility based on the data length: <div style:display="{binding data, convert=toDisplay, source=foo}">no data<
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
InfinitiesLoop
on 4/15/2009
Re: AJAX 4.0 Templating: How to do grouping / nested templates probably?
And to answer your question to Boris -- yes. The question I guess is what do you 'expect'? :) Using a placeholder and an externally defined template doesn't change what you would do WRT to bindings.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
InfinitiesLoop
on 4/15/2009
Re: AJAX 4.0 Templating: How to do grouping / nested templates probably?
Something like this should do the trick: < table style= "border: solid 1px #ccc;" > < thead > < tr > < th >Author</ th > < th >Text</ th > </ tr > </ thead > < tbody class= "sys-template" sys:attach= "dataview" dataview:autofetch= "true" dataview:data= "{{ data }}" > < tr > < td colspan= "2" >{{ Date }}</ td > </ tr > < tr code:before="for (var i
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
InfinitiesLoop
on 4/15/2009
Re: AJAX 4.0 Templating: How to do grouping / nested templates probably?
DataView repeats its template, not the element that it itself is attached to. Same goes for templates -- when you instantiate one, it produces the template's content, not the element itself representing the template. What you need is the ability to wrap the TRs you want repeated. TBODY is perfect for that -- you are supposed to be able to have multiple TBODYs in one table. So your first part can be one tbody, then the inner DataView can attach to a 2nd sibling TBODY. I say 'supposed to'
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
InfinitiesLoop
on 4/14/2009
Re: AJAX 4.0 templating: How to have a empty first option in a template?
Adding data to a DataContext does not automatically make it appear within a DataView. There could be multiple dataviews using a single DataContext, each of which has its own query displaying different datasets, which are all managed by the same DataContext for identity management, change tracking, etc. If a dataview automatically displayed all data for it's assigned DataContext, that scenario wouldn't work. If you want to both insert a new entity for a DataContext and have the new entry displayed
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
InfinitiesLoop
on 4/3/2009
Page 1 of 31 (301 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online