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:798262
More Search Options
RSS Available
Matching Posts
Re: dblClick on listbox to cause postback
[quote user="krolechka"] You can also use the Visible property of the button itself. [/quote] you can't if you want to access the event of the button, you'll get an error in js
Posted to
Data Presentation Controls
(Forum)
by
lindows
on 11/28/2009
dblClick on listbox to cause postback
hi all, i'm trying to have a dblClick on a listbox with items, when you click the item in the listbox, i just want it to show the listbox value being output but i dont' know where to write the postback of the dblClick listbox event here is what i have which causes a postback on dblClick in a listbox Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then 'Registers a control
Posted to
Data Presentation Controls
(Forum)
by
lindows
on 11/20/2009
Re: dblClick on listbox to cause postback
[quote user="Umair Aslam Bhatti"] Go To the properties of listbox and set AutoPostBack = True [/quote] errr, im after dblclicking the item in the listbox to cause the postback, i have done this with the code above, but no sure how to get the value or what event i will be writing in
Posted to
Data Presentation Controls
(Forum)
by
lindows
on 11/20/2009
Re: dblClick on listbox to cause postback
whats the best way to hide the hidden button i tried to use visable = false but if you try and dblclick the listbox it can't find the button so it can't handle the event
Posted to
Data Presentation Controls
(Forum)
by
lindows
on 11/20/2009
Re: dblClick on listbox to cause postback
nevermind <div visable=false style="display: none;"> seem to do the trick
Posted to
Data Presentation Controls
(Forum)
by
lindows
on 11/20/2009
Re: validation callout not being positioned correctly???
any reasons why the my above solution works and why the updating the external update panel doesn't work?
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
lindows
on 11/12/2009
Re: validation callout not being positioned correctly???
hey Zhi, you're not going to like cause i seem to have solved the issue without using any ugly js <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet" Namespace="Microsoft
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
lindows
on 11/12/2009
Re: validation callout not being positioned correctly???
Hi Zhi, The code you provided above seems to be having some js error, and it doesn't seem to work function pageLoad() { //To find all the ValidationCallout client behavior var currentBehavior = null; var allBehaviors = Sys.Application.getComponents(); for (var loopIndex = 0; loopIndex < allBehaviors.length; loopIndex++) { currentBehavior = allBehaviors[loopIndex]; if (currentBehavior._name && currentBehavior.get_name() == "ValidatorCalloutBehavior") { //execute the operation
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
lindows
on 11/11/2009
Re: validation callout not being positioned correctly???
Hi Zhi, I've thought about options 1 and 2 but now the app is a bit weird because client side validation uses validationcallout server side users modalpopup to show message or using some space on the form (the div idea) not saying bad, its just not inline with the rest of the app we don't need to calculate the exact position of each validationcallout as i know for a fact that the code below here works function pageLoad() { //To find all the ValidationCallout client behavior var currentBehavior
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
lindows
on 11/11/2009
Re: validation callout not being positioned correctly???
Hi Zhi, Just ran your code above,should it call out? cause this is what i see on screen before and after post back http://img17.imageshack.us/img17/2785/21545697.jpg thanks lindows
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
lindows
on 11/11/2009
Page 1 of 28 (280 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