Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


You have multiline textbox and submit button. if you paste
xml content into multiline textbox and hit submit button.
what action will perform?

Answers were Sorted based on User's Feedback



You have multiline textbox and submit button. if you paste xml content into multiline textbox and h..

Answer / srini

ValidateRequest is default to true

"The server encountered a potenially unsafe form request......" exception is thrown when it's 'true' as it validates the request when posted back.

If you change it to 'false', page will be posted without any exception. But we need to implement custom encoding technique before storing it to DB to avoid scrip inserts for security reasons.

Is This Answer Correct ?    6 Yes 0 No

You have multiline textbox and submit button. if you paste xml content into multiline textbox and h..

Answer / purushottam

It will throw a exception "The server encountered a potenially unsafe form request......" since the xml data contains tags that ASP.NET treats as a script resource.

Is This Answer Correct ?    5 Yes 0 No

You have multiline textbox and submit button. if you paste xml content into multiline textbox and h..

Answer / nirmal

It will throw a exception "A potentially dangerous
Request.Form value was detected from the client"

Is This Answer Correct ?    4 Yes 0 No

You have multiline textbox and submit button. if you paste xml content into multiline textbox and h..

Answer / sudheer

Nothing will happend.The particular page will be refreshed.

Is This Answer Correct ?    2 Yes 3 No

You have multiline textbox and submit button. if you paste xml content into multiline textbox and h..

Answer / naren

Sudheer may i know the reason?

Is This Answer Correct ?    1 Yes 2 No

You have multiline textbox and submit button. if you paste xml content into multiline textbox and h..

Answer / rahul

For example in backend if u create on rows as xml data
type,now write code in asp.net in text box paste xml content
document and press submit button.after clicking the submit
button xml document stroe in backend.



or

without backend it will go request to server and come back
same it happend only refresh page only.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

Why do we use datasource in asp.net?

0 Answers  


What is the difference between User Controls and Master Pages

22 Answers   Deloitte, IBM, IntraLogic, Markit, TCS,


Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process

1 Answers   HCL, Siebel Systems, Visual Soft,


What is _viewstart?

0 Answers  


Elaborate differentiation between Cache and Application?

0 Answers   QuestPond,


How to Page Execute in asp.net(inside browser)

1 Answers   Satyam, Wipro,


Can you edit data in the Repeater control?

11 Answers   CAC, Creative,


What is aspect-oriented programming?

0 Answers  


what is Versioning in asp.net and how it maintain in any web application

1 Answers   TCS,


How can u handle Un Managed Code Exceptions in ASP.Net?

1 Answers   Lara Technology,


How long should a session id be?

0 Answers  


What is synchronous and Asynchronous post back ?

0 Answers  


Categories