Professional ASP.NET 3.5 in C# and Visual Basic Part 111 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 170 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 170 doc

... 1500 WebPartManager control, 814 WebPartZone controls, dragging and dropping in, 817 XAML, viewing and editing in, 1612–1617 XHTML in, 1571–1573 XML Web service. See XML Web Services, building zone ... from, 1189–1190 using external style sheets in, 864–865 using inline styles in, 866 using internal style sheets in, 865–866 Web Parts allowing user to change mode of page, 820–833...

Ngày tải lên: 05/07/2014, 18:20

17 675 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 8 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 8 doc

... page from which any cross-page postings originate. Cross-page posting between ASP.NET pages is explained later in the section ‘‘Cross-Page Posting’’ and again in Chapter 17. The @PreviousPageType directive ... Request.QueryString["ThemeChange"]; } < /script > If you create an ASP.NET 3.5 page and turn on tracing, you can see the order in which the main page eve...

Ngày tải lên: 05/07/2014, 18:20

10 547 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 11 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 11 docx

... = (string)runtime.GetType().InvokeMember("_shutDownMessage", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.GetField, null, runtime, null); string shutDownStack = (string)runtime.GetType().InvokeMember("_shutDownStack", BindingFlags.NonPublic ... _ GetType(System.Web.HttpRuntime).InvokeMember("_theRuntime", _ BindingFlags.NonPublic Or BindingFlags....

Ngày tải lên: 05/07/2014, 18:20

10 503 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 17 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 17 docx

... buttons being clicked? Through the value placed in the CommandName property. In this case, they are indeed separate values — DoSomething1 and DoSomething2 . The next step is to create the Button_Command event ... people intermingled quite a bit of JavaScript in their pages to fire JavaScript events when a button was clicked. The process became more cumbersome in ASP.NET 1.0/1.1, bu...

Ngày tải lên: 05/07/2014, 18:20

10 508 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 18 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 18 docx

... the ListItem instances in the collection and displays only the items that have been selected. This control works by creating an instance of a ListItem object and using its Selected property to see if a particular ... take multiple check boxes and create specific events for the entire group. Listing 3-13 shows an example of using the CheckBox control. Listing 3-13: Using a single instan...

Ngày tải lên: 05/07/2014, 18:20

10 363 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 24 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 24 doc

... previous steps and change values before those values are saved to a data store. The event appears in your code behind or inline code, as shown in Listing 3-44. Listing 3-44: The FinishButtonClick ... Admin). Role management is covered in Chapter 16. Showing only a WizardStep if the user is contained within a certain role is demonstrated in Listing 3-50. Listing 3-50: Applying logica...

Ngày tải lên: 05/07/2014, 18:20

10 362 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 38 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 38 doc

... InsertTemplate and EditTemplate. These templates are used by the grid when a grid row enters insert or edit mode. You examine inserting and editing data in the GrivView control, including using ... data being bound to the control using data-binding expressions such as the Eval, XPath, or Bind expressions. For instance, Listing 7-34 shows how you can add a data-binding expression using t...

Ngày tải lên: 05/07/2014, 18:20

10 277 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 41 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 41 doc

... 2:01pm Page 358 Chapter 7: Data Binding in ASP.NET 3.5 ASP.NET s inline data-binding syntax is covered in detail later in this chapter. You can see this by examining the ItemTemplate of the default ... 362 Chapter 7: Data Binding in ASP.NET 3.5 Figure 7-36 Figure 7-37 362 Evjen c07.tex V2 - 01/28/2008 2:01pm Page 357 Chapter 7: Data Binding in ASP.NET 3.5 < tr id=&qu...

Ngày tải lên: 05/07/2014, 18:20

10 324 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 51 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 51 doc

... when starting a new ASP.NET Web project, LINQ should be readily available to you. Basic LINQ Queries and Projections In order to start modifying the prior sections samples to using LINQ queries, ... in Listing 9-4. Listing 9-4: Grouping and sorting the List of Movie objects VB Public Class Grouping Private _genre As Integer Private _movieCount As Integer Public Property Genre() As...

Ngày tải lên: 05/07/2014, 18:20

10 296 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 60 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 60 doc

... pervasive in the .NET Framework and in ASP.NET. All ASP.NET configuration files include associated XML Schema, and the Visual Studio Editor is even smarter about XML documents that use XSDs. XmlReader and XmlWriter provide ... command-line compilation, and tops it all with XSLT debugging support for com- piled stylesheets. LINQ to XML introduces the new System.Xml.Linq namespac...

Ngày tải lên: 05/07/2014, 18:20

10 311 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 61 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 61 doc

... changed all that by removing the aspnet_isapi extension module and combining the ASP.NET 3.5 and IIS pipelines into a single integrated request processing pipeline. This new integrated design resolves ... take a moment and talk about how IIS 6.0 and ASP.NET interact with each other. Both IIS 6.0 and ASP.NET have request processing pipelines. Each request processing pipeline...

Ngày tải lên: 05/07/2014, 18:20

10 258 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 62 docx

Professional ASP.NET 3.5 in C# and Visual Basic Part 62 docx

... physicalPath="C: \ inetpub \ wwwroot \ foo" /> </application> <bindings> <binding protocol="http" bindingInformation="192.168.1.12:80:" /> </bindings> </site> </sites> </system.applicationHost> </configuration> As ... IIS7 Figure 11-3 Command-Line Setup Options Windows Vista and Windows Server 2008 come with a...

Ngày tải lên: 05/07/2014, 18:20

10 278 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 69 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 69 doc

... contained in this skeleton; instead, you can simply build-out only the methods you are interested in working with. For instance, if you do not allow for programmatic access to change passwords (and, ... as shown in Listing 13-10 (although this might annoy a developer who is trying to implement this and does not understand the underlying logic of the method). Listing 13-10: Not impleme...

Ngày tải lên: 05/07/2014, 18:20

10 212 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 71 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 71 doc

... By using the SiteMapDataSource control, you can then b ind the information in the site map file to a variety of data-binding controls, including the navigation server controls provided by ASP.NET. To ... the pages in your application and how they relate to one another. If you do this according to the ASP.NET site map standard, you can then inter- act with this navigation information...

Ngày tải lên: 05/07/2014, 18:20

10 252 0
Professional ASP.NET 3.5 in C# and Visual Basic Part 111 doc

Professional ASP.NET 3.5 in C# and Visual Basic Part 111 doc

... while still maintaining cookieless session state. Choosing the Correct Way to Maintain State Now that you’re familiar with the variety of options available for maintaining state in ASP.NET 2.0, here’s ... include added protection by encrypting ViewState as well. In ASP.NET 1.1 you can encrypt ViewState only by using the value 3DES in the validation attribute, and ASP.NET 1.1 wil...

Ngày tải lên: 05/07/2014, 19:20

10 232 0
w