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:675566
More Search Options
RSS Available
Matching Posts
Re: Why no support for mousewheel event?
Hi, I use this trick Sys.UI.DomEvent._itelios_addHandler = Sys.UI.DomEvent.addHandler; $addHandler = Sys.UI.DomEvent.addHandler = function(element, eventName, handler){ if (eventName.toLowerCase() == 'mousewheel' ){ var _handler = function(e){ if (e.rawEvent.wheelDelta){ e.wheelDelta = e.rawEvent.wheelDelta / 120 ; } else if (e.rawEvent.detail){ e.wheelDelta = -e.rawEvent.detail / 3; } // FF bug : http://extjs.com/forum/archive/index.php/t-20298.html if (Sys.Browser.agent == Sys.Browser.Firefox
Posted to
ASP.NET AJAX UI
(Forum)
by
CyrilCS
on 3/17/2008
Re: Atlas not using responseEncoding or requestEncoding
I say Atlas because Microsoft ASP.net Ajax Extensions is very long but the problem still present in the RTM version of Microsoft ASP.net Ajax Extension
Posted to
ASP.NET AJAX UI
(Forum)
by
CyrilCS
on 6/11/2007
Re: Atlas not using responseEncoding or requestEncoding
Hi guys, I encounter the same issue. I have done a dirty fix to resolve this. Atlas is using the encodeURIComponent to encode all the form element value. When we use non UTF-8 encoding, this methods is wrong. I overloads the original method and obtains this one. // corrige des bugs d'atlas lié à l'encoding non utf-8 et les caractères spéciaux var CS_encodeURIComponent = encodeURIComponent; var CS_decodeURIComponent = decodeURIComponent; encodeURIComponent = function(s){ s = escape(s); while
Posted to
ASP.NET AJAX UI
(Forum)
by
CyrilCS
on 6/10/2007
Re: RegisterStartupScript problem
berkovitz: The reference you pass as the first paramter to the ScriptManager.RegisterXXX methods needs to be a reference to a control that is inside of the update panel if you want it to get registered during async postback. Yes, this is what I try to explain with my poor english (and you ave the chance to not hear my french accent ) berkovitz: Also, you should use typeof(TYPE) instead of this.GetType(). I don't remember the reason but I remember reading a MS post about it... The reason is this.GetType
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
CyrilCS
on 1/31/2007
Re: RegisterStartupScript problem
Hi, My sample show that none of the RegisterStartupScript methods works (on the RC or beta2 version) when it is called during an async postback. I used Reflector to see why and how to Register script in partial phase and we must give a control inside the refreshing updatePanel or the updatePanel himself for the first argument. So if we use this code : ScriptManager.RegisterClientScriptBlock(Update1, this.GetType(), "test1", "alert('test 1');", true); it will works ! The real problem is how to get
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
CyrilCS
on 1/31/2007
Re: What good is __type being added by JavaScriptSerializer?
I have exactly the same issue !!! let's see an example : I'm writing a control so I created a new client type that derives from Sys.UI.Control, everything is well, I can use the nice $create function like this var macon = new Itelios.Geo.Point( '04°49\'57" ' , '46°18\'26" ' ); var neoglobe = $create(Itelios.UI.Viewer, { centerPoint : macon, zoomLevel : 8, handlerImageUrl : 'ImageHandler.ashx' }, { beforeMoving : function (sender, e){ debug.trace( 'moving' ); debug.trace(e.get_centerPoint().toString
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
CyrilCS
on 12/28/2006
Re: how to get which UpdatePanel has posted
Hi, you're right, my code works only for refreshed panel fired with a trigger. This code would work in many case : 96 public static UpdatePanel FindRefreshedUpdatePanel( ScriptManager sc) 97 { 98 Control control = sc.Page.FindControl(sc.AsyncPostBackSourceElementID); 99 while (control != null ) 100 { 101 if (control is UpdatePanel ) 102 return ( UpdatePanel )control; 103 104 control = control.NamingContainer; 105 } 106 107 return FindRefreshedUpdatePanelRecursive(control.Page, sc); 108 } 109 110
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
CyrilCS
on 12/22/2006
Re: how to get which UpdatePanel has posted
Hi, I think this code would help you. 86 private static UpdatePanel FindRefreshedUpdatePanelRecursive( Control parent, ScriptManager sc) 87 { 88 foreach ( Control child in parent.Controls) 89 { 90 if (child is UpdatePanel ) 91 { 92 foreach ( UpdatePanelTrigger trigger in (( UpdatePanel )child).Triggers) 93 { 94 String ControlID; 95 if (trigger is AsyncPostBackTrigger ) 96 ControlID = (( AsyncPostBackTrigger )trigger).ControlID; 97 else if (trigger is PostBackTrigger ) 98 ControlID = (( PostBackTrigger
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
CyrilCS
on 12/20/2006
Re: Alert in Ajax
This is normal, Response.Write is not a recommanded method you have to use the RegisterStartupScript method. But as I explain here ( http://forums.asp.net/thread/1501423.aspx ) the RegisterStartupScript doesn't work with the RC version of Atlas ...
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
CyrilCS
on 12/19/2006
Re: RegisterStartupScript problem
I explain a bit more with a sample : <%@ Page Language="C#" %> < script type= "text/C#" runat= "server" > protected void Button1_Click(object sender, EventArgs e) { ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "test1", "alert('test 1');", true); ScriptManager.RegisterStartupScript(this, this.GetType(), "test2", "alert('test 2');", true); Page.ClientScript.RegisterStartupScript(this.GetType(), "test3", "alert('test 3');", true); Page.ClientScript.RegisterClientScriptBlock
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
CyrilCS
on 12/19/2006
Page 1 of 3 (21 items) 1
2
3
Next >
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online