Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

Adding a custom target validation schema in Visual Studio -


i want use visual studio 2008 web project build application uses:

<!doctype vxml public "-//w3c//dtd voicexml 2.1//en"      "http://www.w3.org/tr/voicexml20/vxml.dtd"> 

as it's validation schema in aspx file. however, when write tag such <vxml></vxml> valid tag in vxml.dtd, raises couple of warnings: element 'html' occurs few times , element 'vxml' not supported.

i think due validation target setting in tools > options > text editor > html > validation.

how can add vxml.dtd list of possible settings in target dropdown box?

thanks, ben

your correct assumptions on validation target , not think there way around when using aspx pages. schema validation when open in xml editor. try right clicking on document , select "open with..." , open xml editor. should pick schema definition include in vxml tag. have found xml editor in vs bit flaky , ended using third party xml editor oxygen.

the approach took when using asp.net rendering dynamic vxml use xslt , helper classes render documents. way schema validation , use xslt debugger in vs test how pages rendered. better approach found use asp.net mvc 3 razor. there open source project called voicemodel on codeplex provides examples on how use approach.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -