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:623965
More Search Options
RSS Available
Matching Posts
Re: Error in Design view when using ConfirmButtonExtender for ButtonControl
Hi, I don't know what the problem was but it worked just fine without errors once I closed my Visual Dev and open the project again. Thanks any way for help Csharplearner
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
csharplearner
on 10/23/2008
Re: Error in Design view when using ConfirmButtonExtender for ButtonControl
I have download AJAX Control toolkit apart from .NET Framework 3.5 I have also downloaded Visual Web Dev 2008. Do we have to download Microsoft AJAX Library 3.5 too?
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
csharplearner
on 10/23/2008
Re: Error in Design view when using ConfirmButtonExtender for ButtonControl
Did you try in Visual Web Developer Express edition?
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
csharplearner
on 10/23/2008
Re: Error in Design view when using ConfirmButtonExtender for ButtonControl
1 < %@ Page Language= "C#" AutoEventWireup= "true" CodeBehind= "Default.aspx.cs" Inherits= "AjaxEnableWebApp_Simple._Default" %> 2 3 < %@ Register assembly= "AjaxControlToolkit" namespace= "AjaxControlToolkit" tagprefix= "cc1" %> 4 5 < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 6 7 < html xmlns= "http://www
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
csharplearner
on 10/23/2008
Error in Design view when using ConfirmButtonExtender for ButtonControl
When I add "ConfirmButttonExtender" to the button using Visual Web Developer Express Edition, I am getting "Error Creating Control- UpdatePanel1 'asp:UpdatePanel' could not be set on property 'ContentTemplate' " in the design window. By just ignoring the error, I have ran the page and the extender does work though. Could somebody help as to why it is showing the error mentioned in the design view? Thanks in advance Csharplearner
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
csharplearner
on 10/23/2008
Re: Understanding Iterators-IEnumerator/IEnumerable-foreach loop
[quote user="rjcox"] No, because there are cases where the compiler will enumerate a collection without actually using an IEnumerator (i.e. other cases are directly supported). [/quote] can you shoot an example for this? BTW could you suggest any good book other than Andrew Troelsen's book for having getting good foundations/grip on C#?
Posted to
C#
(Forum)
by
csharplearner
on 3/19/2008
Re: Understanding Iterators-IEnumerator/IEnumerable-foreach loop
[quote user="rjcox"] [quote user="csharplearner"] [quote user="rjcox"] It handles the case where my_collection explictly implements IEnumerable; i.e. the GetEnumerator method is only available by explicitly converting (cast, or via a variable with the interface's type) to the interface. [/quote] So Richard, does it explicitly casts at all times to see whether the collection is IEnumerable? [/quote] Sorry, don't follow. What is "it"? [/quote] Richard
Posted to
C#
(Forum)
by
csharplearner
on 3/19/2008
Re: Understanding Iterators-IEnumerator/IEnumerable-foreach loop
[quote user="rjcox"] [quote user="csharplearner"] 1 IEnumerator enumer = ( (IEnumerable) my_collection).GetEnumerator(); 2 while (enumer.MoveNext()) 3 { 4 string g = ( string )enumer.Current(); 5 Console.WriteLine( "string is {0}" , s); 6 } While, I totally understand the sequence of steps that take place under the hood and concur with Mark Doyle, I fail to understand as to why he is typecasting with IEnumerable in line #1 in second part of the above code. Could you
Posted to
C#
(Forum)
by
csharplearner
on 3/18/2008
Re: Understanding Iterators-IEnumerator/IEnumerable-foreach loop
Mark sorry for bugging you but let me ask you the question in a different way [smile]. For the matter of clarity, I will present the code here again 1 foreach ( string s in my_collection) 2 { 3 //traverse through my_collection list/array and output it to the console 4 5 Console.WriteLine( "string is {0}" , s); 6 } would look something like this under the hood: 1 IEnumerator enumer = ( (IEnumerable) my_collection).GetEnumerator(); 2 while (enumer.MoveNext()) 3 { 4 string g = ( string )enumer
Posted to
C#
(Forum)
by
csharplearner
on 3/18/2008
Re: Understanding Iterators-IEnumerator/IEnumerable-foreach loop
[quote user="doyleits"] The idea is that the foreach loop doesn't know the specific class, namespace, assembly, etc, being returned from a collection's GetEnumerator() method. Instead it is relying on the IEnumerator interface as a "window" into that object / collection. That's the whole idea behind Interfaces - you are guaranteed a "signature" giving you what you need to perform a specific action. In this case, both foreach and this while loop depend upon
Posted to
C#
(Forum)
by
csharplearner
on 3/18/2008
Page 1 of 18 (179 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online