Friday, 23 October 2015

Populate XML file in TreeView

Description:-



In this example we explain that how to bind XML file data to TreeView in Asp.Net or how to populating the TreeView control with XMLDataSource in asp.net.or Dynamically bind TreeView from XML file in asp.net.

Here we create a one XML file for country and it's related state and we want to bind this country and it's state to the TreeView Dynamically from the XML file.

So to do this first we have to open the XML file in read/write mode and then we have to fetch it's node one by one and binds it to the TreeView.

How to Bind XML File data to Treeview in asp.net

Populate XML file in TreeView

Description:-



In this example we explain that how to bind XML file data to TreeView in Asp.Net or how to populating the TreeView control with XMLDataSource in asp.net.or Dynamically bind TreeView from XML file in asp.net.

Here we create a one XML file for country and it's related state and we want to bind this country and it's state to the TreeView Dynamically from the XML file.

So to do this first we have to open the XML file in read/write mode and then we have to fetch it's node one by one and binds it to the TreeView.

jquery datepicker with drodown to select month and year
Description:-



In this example we explain that how to Display calendar with Dropdown in month and year for selecting month and year in asp.net using jquery. Or display or bind month and year in DropdownList in calendar for selecting month and year in asp.net.

We already explain that display calendar in asp.net but in simple calendar if you want select before 50 year ago year then you have to press back button of the year in calendar control many time so it is time consuming. But now in this calendar you simply directally select year that you want in dropdown inside in calendar control.
 

JQuery datepicker calender with Dropdown month and year in asp.net.

jquery datepicker with drodown to select month and year
Description:-



In this example we explain that how to Display calendar with Dropdown in month and year for selecting month and year in asp.net using jquery. Or display or bind month and year in DropdownList in calendar for selecting month and year in asp.net.

We already explain that display calendar in asp.net but in simple calendar if you want select before 50 year ago year then you have to press back button of the year in calendar control many time so it is time consuming. But now in this calendar you simply directally select year that you want in dropdown inside in calendar control.
 



Description:-



In this example we explain that how to Highlight Saturday,Sunday weekend dates in calendar control in asp.net C#, VB. Or Disable weekend dates or saturaday Sunday in calendar in asp.net. this is very useful example when you want to user enter only working hours date not holiday dates. So you can highlight or disable weekend dates or saturaday and Sunday in calendar as per your requirement. So there are multiple ways to highlight or disable or checked weekend days in calendar are as follows.


Highlight Saturday,Sunday or weekend dates in calendar control in asp.net



Description:-



In this example we explain that how to Highlight Saturday,Sunday weekend dates in calendar control in asp.net C#, VB. Or Disable weekend dates or saturaday Sunday in calendar in asp.net. this is very useful example when you want to user enter only working hours date not holiday dates. So you can highlight or disable weekend dates or saturaday and Sunday in calendar as per your requirement. So there are multiple ways to highlight or disable or checked weekend days in calendar are as follows.


display print button in report viewer in chrome and firefox

Description:-
 


In this example we explain that how to show print button in Report Viewer. I also face that problem like report viewer print button is not showing in fire fox and chrome browser by default it will show in Internet Explorer. Or print button not visible in report viewer for mozila fire fox and chrome browser.  So how to display print button in report viewer that display in all browser like browser comp ability code for report viewer print button so it will work for the all the browser.


how to show print button in report viewer in chrome and mozila firefox in asp.net

display print button in report viewer in chrome and firefox

Description:-
 


In this example we explain that how to show print button in Report Viewer. I also face that problem like report viewer print button is not showing in fire fox and chrome browser by default it will show in Internet Explorer. Or print button not visible in report viewer for mozila fire fox and chrome browser.  So how to display print button in report viewer that display in all browser like browser comp ability code for report viewer print button so it will work for the all the browser.



validate dynamic created control


Description:-




In this example we explain that how to validate Date format in dd/mm/yyyy in asp.net C# backend code at runtime validation using Regex validator provided by .Net Framework.

We all know very to validate any like Date, only number, required validation, and Range validation is easily at client side but my problem is that it will be validated by runtime.

For example in my real project in which one form name like create report in which form one is dropdown and its contain three items like string, integer and Date. And second control is textbox and one submit button. Now condition is that if user select string item from dropdown list then only string are allow to enter in below Textbox control same like if user select Date item from dropdown list then only user allow to enter Date only and it also in dd/mm/yy format and same for Integer items. So it is difficult task to validate at runtime for me at first time. And then finally I got the solution are described bellows.

How to validate dynamically created control in asp.net


validate dynamic created control


Description:-




In this example we explain that how to validate Date format in dd/mm/yyyy in asp.net C# backend code at runtime validation using Regex validator provided by .Net Framework.

We all know very to validate any like Date, only number, required validation, and Range validation is easily at client side but my problem is that it will be validated by runtime.

For example in my real project in which one form name like create report in which form one is dropdown and its contain three items like string, integer and Date. And second control is textbox and one submit button. Now condition is that if user select string item from dropdown list then only string are allow to enter in below Textbox control same like if user select Date item from dropdown list then only user allow to enter Date only and it also in dd/mm/yy format and same for Integer items. So it is difficult task to validate at runtime for me at first time. And then finally I got the solution are described bellows.