Saturday 30 August 2014


Facebook Style Search

Description:-

In this example we explain that how to create Facebook type search box with auto complete using jquery,ajax in asp.net.here we explain that Facebook style autocomplete textbox search using jquery and ajax in asp.net.

Previous time we already explain that autocomplete textbox search in 
asp.net and also in mvc application and webservices. But to display something fancy search box facility same like facebook when we search our friend then it's related information are displayed in box with his photo. Today all user like this type of fancy and good looking facility in your website.

How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

How to Display Layer on one Another in CSS Overlapping Layer in CSS

So here is a code that demostrate how to create facebook style search in 
asp.net

Create Facebook like search box with auto complete using jquery, ajax in Asp.net


Facebook Style Search

Description:-

In this example we explain that how to create Facebook type search box with auto complete using jquery,ajax in asp.net.here we explain that Facebook style autocomplete textbox search using jquery and ajax in asp.net.

Previous time we already explain that autocomplete textbox search in 
asp.net and also in mvc application and webservices. But to display something fancy search box facility same like facebook when we search our friend then it's related information are displayed in box with his photo. Today all user like this type of fancy and good looking facility in your website.

How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

How to Display Layer on one Another in CSS Overlapping Layer in CSS

So here is a code that demostrate how to create facebook style search in 
asp.net


Get Ip Address of user
Description:-

In this example we explain that how to get IP Address of the client machine in asp.net with C#.or fetch/find IP address of the client or server machine using asp.net with C#.

You can also put this code in your website to fetch or retrieve users IP address and also you count the unique visitor in your website.

We all show that in many website use this type of functionality so he can view that which user is visited our website. So you can also use or set this code to your website for getting the list of IP address of the users machine that are visited your website.

How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

How to Display Layer on one Another in CSS Overlapping Layer in CSS

How to Get User IP address in ASP.NET using C#/VB.NET


Get Ip Address of user
Description:-

In this example we explain that how to get IP Address of the client machine in asp.net with C#.or fetch/find IP address of the client or server machine using asp.net with C#.

You can also put this code in your website to fetch or retrieve users IP address and also you count the unique visitor in your website.

We all show that in many website use this type of functionality so he can view that which user is visited our website. So you can also use or set this code to your website for getting the list of IP address of the users machine that are visited your website.

How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

How to Display Layer on one Another in CSS Overlapping Layer in CSS
check/uncheck checkbox in gridview using javascript

Description:-

In this example we explain that how to check and uncheck checkbox in gridview using javascript or select and deselect checkboxes in gridview with header checkbox in asp.net using javascript.

Previous time I already explain that how to check/uncheck checkbox in gridview in 
asp.net using C# and also in mvc with webgrid.

Bu in this example we explain same thing in Clienside using javascript and our requirement is that if user select or check header checkbox of the gridview then it's child checkbox means all the rows are automatically checked and if uncheck/deselect the header checkbox then all checkbox of the all the rows are also uncheck/deselected automatically without refresh or page load using javascript in 
asp.net.

To show Example How to insert,update,delete in DataList control clikck here  CRUD operation in DataList 


 How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

how to select/deselect checkboxes in gridview Or check/uncheck all the checkboxes in gridview using header checkbox using JavaScript.

check/uncheck checkbox in gridview using javascript

Description:-

In this example we explain that how to check and uncheck checkbox in gridview using javascript or select and deselect checkboxes in gridview with header checkbox in asp.net using javascript.

Previous time I already explain that how to check/uncheck checkbox in gridview in 
asp.net using C# and also in mvc with webgrid.

Bu in this example we explain same thing in Clienside using javascript and our requirement is that if user select or check header checkbox of the gridview then it's child checkbox means all the rows are automatically checked and if uncheck/deselect the header checkbox then all checkbox of the all the rows are also uncheck/deselected automatically without refresh or page load using javascript in 
asp.net.

To show Example How to insert,update,delete in DataList control clikck here  CRUD operation in DataList 


 How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

fetch previous page URL

Description:-

In this Example we explain that how to Fetch previous page URL in Asp.Net using jquery and C#. or how to get previous page URL in asp.netweb application project.

Sometime we have requirement to redirect the user to the previous page or transfer user to the previous page in our application. For example if user is travel from one page to another page and if in second page that's have no writes then we all generally redirect or transfer user to Login.aspx page but sometime requirement if user have no rights then it's redirect to the previous page in which he travel to this page.

To show Example How to insert,update,delete in DataList control clikck here  CRUD operation in DataList 

 How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

So perform this type of condition or flow follow the below code

How to Get Previous Page URL in Asp.Net using Jquery.


fetch previous page URL

Description:-

In this Example we explain that how to Fetch previous page URL in Asp.Net using jquery and C#. or how to get previous page URL in asp.netweb application project.

Sometime we have requirement to redirect the user to the previous page or transfer user to the previous page in our application. For example if user is travel from one page to another page and if in second page that's have no writes then we all generally redirect or transfer user to Login.aspx page but sometime requirement if user have no rights then it's redirect to the previous page in which he travel to this page.

To show Example How to insert,update,delete in DataList control clikck here  CRUD operation in DataList 

 How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

So perform this type of condition or flow follow the below code

Friday 29 August 2014

Calculate Birthdate


Description:-

In this example we explain that how to calculate the Age of the person from the date of the birth in asp.net. or Calculate Age based on date and display it as Days and Months using asp.net C#.
 or calculate the age of person and retrieve the year month and day depend on the user enter his birth date in textbox in 
asp.net.

sometime we have requirement in our application like in Government examination system suppose user enter his birth date then application will automatically calculate his Age and if Age is Greater then it's criteria then it will display proper message that you are not eligible for this exam.

To show Example How to insert,update,delete in DataList control clikck here  CRUD operation in DataList 

 How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

So if you have to define this type of criteria in your application you should follow the steps

How to Calculate Age of person from the Date of birth in Asp.Net

Calculate Birthdate


Description:-

In this example we explain that how to calculate the Age of the person from the date of the birth in asp.net. or Calculate Age based on date and display it as Days and Months using asp.net C#.
 or calculate the age of person and retrieve the year month and day depend on the user enter his birth date in textbox in 
asp.net.

sometime we have requirement in our application like in Government examination system suppose user enter his birth date then application will automatically calculate his Age and if Age is Greater then it's criteria then it will display proper message that you are not eligible for this exam.

To show Example How to insert,update,delete in DataList control clikck here  CRUD operation in DataList 

 How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

So if you have to define this type of criteria in your application you should follow the steps

highlight datalist item

Description:-


In this example we explain that how to Highlight DataList Item on mouse over in asp.net or change the DataList item look and design or background when mouse is over in each items on the DataList in asp.net.

Previous we already explain this same thing in gridview but some time we have requirement in Datlist control like in online shopping application that you develop you must have to use the DataList control to dislay Item with it's price and Description. So to highlight each items in DataList you have to refer the following code.

Here we use custom css style/sheet for highlight the DataList items. In style sheet we define the style that will apply when mouseis over in each items of the DataList and highlight the DataList items.

To show Example How to insert,update,delete in DataList control clikck here  CRUD operation in DataList 



 How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

How to highlight DataList item on mouseover in ASP.NET

highlight datalist item

Description:-


In this example we explain that how to Highlight DataList Item on mouse over in asp.net or change the DataList item look and design or background when mouse is over in each items on the DataList in asp.net.

Previous we already explain this same thing in gridview but some time we have requirement in Datlist control like in online shopping application that you develop you must have to use the DataList control to dislay Item with it's price and Description. So to highlight each items in DataList you have to refer the following code.

Here we use custom css style/sheet for highlight the DataList items. In style sheet we define the style that will apply when mouseis over in each items of the DataList and highlight the DataList items.

To show Example How to insert,update,delete in DataList control clikck here  CRUD operation in DataList 



 How to Bind Excelsheet Data to Gridview CRUD operation in Excelsheet Database

Sunday 24 August 2014

move items from one listbox to another listbox in mvc with asp.net
Description:-



In this example we explain that how to move or transfer item from one listbox to another ListBox in MVC4. we already explain that how to move or transfer items in listbox in asp.net but sometime if you are worked on mvc application then how to move items from one Listbox to another ListBox or how to bind Listbox  in mvc4.

Here we create application same like online Shopping application or in hotel you first select the item that you want and finally selected item are send to the waiter same like here we create two listbox in which first listbox contains all the item that are available in shop and you have select your item and move this item from first listbox to second listbox and finally submit to the admin that will prepare your bill payment.

Fancy Image Slideshow of Image in Jquery Beautiful Slideshow in Jquery 

Awesome Login Popup in Jquery Signup and Login Popup in Jquery

move or transfer items from one ListBox to another ListBox in MVC4

move items from one listbox to another listbox in mvc with asp.net
Description:-



In this example we explain that how to move or transfer item from one listbox to another ListBox in MVC4. we already explain that how to move or transfer items in listbox in asp.net but sometime if you are worked on mvc application then how to move items from one Listbox to another ListBox or how to bind Listbox  in mvc4.

Here we create application same like online Shopping application or in hotel you first select the item that you want and finally selected item are send to the waiter same like here we create two listbox in which first listbox contains all the item that are available in shop and you have select your item and move this item from first listbox to second listbox and finally submit to the admin that will prepare your bill payment.

Fancy Image Slideshow of Image in Jquery Beautiful Slideshow in Jquery 

Awesome Login Popup in Jquery Signup and Login Popup in Jquery

Saturday 23 August 2014

Highlight Duplicate rows in Gridview
Description:-



In this example we explain that how to Highlight duplicate row in Gridview in asp.net
Or display duplicate rows with highlight color or different background row in gridview in asp.net. generally we highlight row so user can easily look and feel that and understand that what to do next.

Generally that is great functionality if you have requirement to delete duplicate record then you do not have to find it one by one manually but you can use this functionality and easily delete highlighted rows.



Fancy Image Slideshow of Image in Jquery Beautiful Slideshow in Jquery 

Awesome Login Popup in Jquery Signup and Login Popup in Jquery

Highlight duplicate rows in gridview in asp.net

Highlight Duplicate rows in Gridview
Description:-



In this example we explain that how to Highlight duplicate row in Gridview in asp.net
Or display duplicate rows with highlight color or different background row in gridview in asp.net. generally we highlight row so user can easily look and feel that and understand that what to do next.

Generally that is great functionality if you have requirement to delete duplicate record then you do not have to find it one by one manually but you can use this functionality and easily delete highlighted rows.



Fancy Image Slideshow of Image in Jquery Beautiful Slideshow in Jquery 

Awesome Login Popup in Jquery Signup and Login Popup in Jquery

Nested DataGrid in Windows Form application


Description:-



In this example we explain that how to create nested Datagrid in window form application using C# and VB .Net or how to create Expand and Collapsible rows in Datagrid in window form application with C#. or create nested datagrid with expand and collapsible rows in C# winforms application.

We already explain that nested gridview example in Asp.Net and even in mvc also but now we explain in windows form application.


Fancy Image Slideshow of Image in Jquery Beautiful Slideshow in Jquery 

Awesome Login Popup in Jquery Signup and Login Popup in Jquery

to create Nested Datagrid in window form application follow the below step.

Right click on the toolbar and choose the item display in below image.


nested datagrid in window form C#


 Now Drag and Drop DataGrid in window Form and write the following code in PageLoad.


Nested DataGrid or Expandable and Collapsible Rows in Datagrid in C# Window Forms


Nested DataGrid in Windows Form application


Description:-



In this example we explain that how to create nested Datagrid in window form application using C# and VB .Net or how to create Expand and Collapsible rows in Datagrid in window form application with C#. or create nested datagrid with expand and collapsible rows in C# winforms application.

We already explain that nested gridview example in Asp.Net and even in mvc also but now we explain in windows form application.


Fancy Image Slideshow of Image in Jquery Beautiful Slideshow in Jquery 

Awesome Login Popup in Jquery Signup and Login Popup in Jquery

to create Nested Datagrid in window form application follow the below step.

Right click on the toolbar and choose the item display in below image.


nested datagrid in window form C#


 Now Drag and Drop DataGrid in window Form and write the following code in PageLoad.




Description:-


In this example we explain that how to Display Dynamic Tool tip on Custom Dropdown list item in mvc4 or create Tooltip for each item of the custom dropdownlist in asp.net with mvc.

That was the real requirement when I was worked in one project and in which the requirement is that I have an Html.DropdownList() and the select list has an item whose text is really very long, but the width of the list truncates or delete the text. I want the tooltip to show the full text so end user can easily read the item in Dropdownlist and understand properly.

So that is nice article and also usefull for you if you have long item text that you want to bind to Dropdownlist then use this example with attractive and dynamic tooltip facility in mvc application.



to show Example of How to Display Gridview Row Detail in Javascript Popup click here Display Gridview ARow Detail in Javascript Popup

to show Example of how to Redirect to another aspx page in javascript click here Redirect to another aspx page in javascript


Create Dynamic Tooltip on Custom DropDownList in ASP.Net MVC



Description:-


In this example we explain that how to Display Dynamic Tool tip on Custom Dropdown list item in mvc4 or create Tooltip for each item of the custom dropdownlist in asp.net with mvc.

That was the real requirement when I was worked in one project and in which the requirement is that I have an Html.DropdownList() and the select list has an item whose text is really very long, but the width of the list truncates or delete the text. I want the tooltip to show the full text so end user can easily read the item in Dropdownlist and understand properly.

So that is nice article and also usefull for you if you have long item text that you want to bind to Dropdownlist then use this example with attractive and dynamic tooltip facility in mvc application.



to show Example of How to Display Gridview Row Detail in Javascript Popup click here Display Gridview ARow Detail in Javascript Popup

to show Example of how to Redirect to another aspx page in javascript click here Redirect to another aspx page in javascript


Dynamically created xml file using C#


Description:-



In this example we explain that how to create XML file Dynamically in asp.net or create XML runtime through C# code in asp.net.

We already explain that how to create text file with insert,update facility but how to create XML file dynamically and save this file in your project folder in asp.net with C#.
The real advantages of creating XML file is that XML is platform independent so it can easily used other platform once it was created. To create XML file here we use XMLTextWriter class.

to show Example of How to Display Gridview Row Detail in Javascript Popup click here Display Gridview ARow Detail in Javascript Popup

to show Example of how to Redirect to another aspx page in javascript click here Redirect to another aspx page in javascript

to show example of how to create timer or display clock in javascript click here create timer or display clock in javascript

How to Create XML File Dynamically in Asp.Net using C#.

Dynamically created xml file using C#


Description:-



In this example we explain that how to create XML file Dynamically in asp.net or create XML runtime through C# code in asp.net.

We already explain that how to create text file with insert,update facility but how to create XML file dynamically and save this file in your project folder in asp.net with C#.
The real advantages of creating XML file is that XML is platform independent so it can easily used other platform once it was created. To create XML file here we use XMLTextWriter class.

to show Example of How to Display Gridview Row Detail in Javascript Popup click here Display Gridview ARow Detail in Javascript Popup

to show Example of how to Redirect to another aspx page in javascript click here Redirect to another aspx page in javascript

to show example of how to create timer or display clock in javascript click here create timer or display clock in javascript

Sunday 10 August 2014

scroll text using jquery

Description:-



in this example we explain that how to scroll page data automatically after every few second or using timer concept in asp.net using jquery. Or how to scroll page data or any part of the page automatically after every stetted time in asp.net.

suppose if you have note that we show many this type of functionality in News website like Divbhaskar.com or Gujaratsamachar.com etc.. in this website the news will be automatically scroll one by one from bottom to top or right to left as per website defined.

So to display this News type effect in our code you have to write the following code

How to Handle Concurrency in Linq to Sql Handle Concurrency in Linq to Sql


Read/Write Text File in Asp.Net with C# Example of Read/Write File



How to Scroll Page Automatically by few pixels after every few seconds using JQuery in asp.net

scroll text using jquery

Description:-



in this example we explain that how to scroll page data automatically after every few second or using timer concept in asp.net using jquery. Or how to scroll page data or any part of the page automatically after every stetted time in asp.net.

suppose if you have note that we show many this type of functionality in News website like Divbhaskar.com or Gujaratsamachar.com etc.. in this website the news will be automatically scroll one by one from bottom to top or right to left as per website defined.

So to display this News type effect in our code you have to write the following code

How to Handle Concurrency in Linq to Sql Handle Concurrency in Linq to Sql


Read/Write Text File in Asp.Net with C# Example of Read/Write File




compare password in mvc4


Description:-



in this example we explain that how to compare password and confirm password in mvc4 rozar view with asp.net.

we all know that in every web application in any languages must have a Register Form in which Password and Confirm Password are two field are compulsory. So this example is very useful to compare password and confirm password in Razor view in mvc website when user is register or login into the site.

We all already use this functionality in Asp.Net website but how to use in MVC is the Question so to achieve this facility in your mvc application follow the below code



Sorting Row data in gridview Gridview Sorting 

How to handle Concurrency in Linq to Sql Concurrency Example 

How to compare password and confirm password with razor view in MVC4


compare password in mvc4


Description:-



in this example we explain that how to compare password and confirm password in mvc4 rozar view with asp.net.

we all know that in every web application in any languages must have a Register Form in which Password and Confirm Password are two field are compulsory. So this example is very useful to compare password and confirm password in Razor view in mvc website when user is register or login into the site.

We all already use this functionality in Asp.Net website but how to use in MVC is the Question so to achieve this facility in your mvc application follow the below code



Sorting Row data in gridview Gridview Sorting 

How to handle Concurrency in Linq to Sql Concurrency Example 

Saturday 9 August 2014



wrap coloumn in Gridview

Description:-


in this example we explain that how to wrap the Gridview coloumn data in asp.net or wrap the data of the Gridview coloumn when data is long.

Suppose we have one form in which user information are entered by user like name,city,mono,address etc.... and finally bind this record to Gridview.

So here address enter by user is very long so by Default Gridview can Display data in a single line and Layout of the Gridview will not display proper. So that's type of situation we have to manually set the code for Gridview to particular coloumn so data will be display in wrap format in Gridview.

So apply this type of facility in your code just write the below code


Sorting Row data in gridview Gridview Sorting 

How to handle Concurrency in Linq to Sql Concurrency Example 


How to Wrap the data of a Particular Column in GridView or Word Wrap for GridView columns in asp.net



wrap coloumn in Gridview

Description:-


in this example we explain that how to wrap the Gridview coloumn data in asp.net or wrap the data of the Gridview coloumn when data is long.

Suppose we have one form in which user information are entered by user like name,city,mono,address etc.... and finally bind this record to Gridview.

So here address enter by user is very long so by Default Gridview can Display data in a single line and Layout of the Gridview will not display proper. So that's type of situation we have to manually set the code for Gridview to particular coloumn so data will be display in wrap format in Gridview.

So apply this type of facility in your code just write the below code


Sorting Row data in gridview Gridview Sorting 

How to handle Concurrency in Linq to Sql Concurrency Example 


sqlquery interview question

Description:-




In this example we explain that most important sql query that is asked by all interviewers in interview. So this some query is more useful to prepare your sql server interview question.

Here we define or explain all most important sql query that is I was really faced in my interview in my life and I will solved all the sql query and here define all sql query are below.



Sorting Row data in gridview Gridview Sorting 

How to handle Concurrency in Linq to Sql Concurrency Example 



Interview Question for Sql query or sqlserver interview query.

sqlquery interview question

Description:-




In this example we explain that most important sql query that is asked by all interviewers in interview. So this some query is more useful to prepare your sql server interview question.

Here we define or explain all most important sql query that is I was really faced in my interview in my life and I will solved all the sql query and here define all sql query are below.



Sorting Row data in gridview Gridview Sorting 

How to handle Concurrency in Linq to Sql Concurrency Example 





currency symbol in gridview

Description:-


In this example we explain that how to display currency symbol in gridview column in asp.net or set currency symbol for salary column of the gridview in asp.net.

This was real problem that I was faced that in my project we have a one column salary in employee table. And requirement is that if employee's city is UK then we have to set currency symbol ahead of salary is "$" if employee's city is India then display simple salary as in database and also same for other multiple employee country.

So this is very important thing and very useful feature that we have require in many project. So to achieve this type of functionality follow the below steps

To show Example of How to Upload Multiple File in MVC Application then click here upload multiple File in MVC

How to upload File and Fetch file from SqlServer and bind to Gridview fetch file from Sqlserver and bind to Gridview

Display currency symbols in gridview column in asp.net with C#



currency symbol in gridview

Description:-


In this example we explain that how to display currency symbol in gridview column in asp.net or set currency symbol for salary column of the gridview in asp.net.

This was real problem that I was faced that in my project we have a one column salary in employee table. And requirement is that if employee's city is UK then we have to set currency symbol ahead of salary is "$" if employee's city is India then display simple salary as in database and also same for other multiple employee country.

So this is very important thing and very useful feature that we have require in many project. So to achieve this type of functionality follow the below steps

To show Example of How to Upload Multiple File in MVC Application then click here upload multiple File in MVC

How to upload File and Fetch file from SqlServer and bind to Gridview fetch file from Sqlserver and bind to Gridview

Empty date Text in WebGrid in MVC


Description:-

In this example we explain that how to display Empty Data Text in webgrid in mvc4 with asp.net.we already expl;ain that how to display empty datatext text in grdiview in asp.net but in mvc that is no facility in webgrid to display emptydata text automatically so we have to manually write or define the code for this.

Let have to see a simple tip that shows how to display Empty Data or empty data text in a ASP.NET MVC 4 WebGrid by using WebGrid web helper class.

Here in this post we will check the  model if it  has no data then display a message, similar to the EmptyDataText property of the ASP.NET GridView.


Display Empty Data Text in WebGrid in MVC4


Empty date Text in WebGrid in MVC


Description:-

In this example we explain that how to display Empty Data Text in webgrid in mvc4 with asp.net.we already expl;ain that how to display empty datatext text in grdiview in asp.net but in mvc that is no facility in webgrid to display emptydata text automatically so we have to manually write or define the code for this.

Let have to see a simple tip that shows how to display Empty Data or empty data text in a ASP.NET MVC 4 WebGrid by using WebGrid web helper class.

Here in this post we will check the  model if it  has no data then display a message, similar to the EmptyDataText property of the ASP.NET GridView.






notification bar in jquery

Description:-


In this example we explain that how to display notification or popup message in asp.net. Or how to create notification bar or prompt using query in asp.net.

Today we all show that Many websites display notifications bar or information bar in top of the pages when some functionality is performed by user. Notification bar or information bar is nothing but it contains some text information, graphics or any other HTML.

Notification bar are very useful to  remember the user's choice of closing the notification bar. you can substitute anything in Notificatin Bar or Information Bar like: Twitter or Facebook "follow us" buttons, custom graphics, or advertisements.

To show Example of How to Upload Multiple File in MVC Application then click here upload multiple File in MVC

How to upload File and Fetch file from SqlServer and bind to Gridview fetch file from Sqlserver and bind to Gridview

Add a notification bar to your website using jQuery in asp.net





notification bar in jquery

Description:-


In this example we explain that how to display notification or popup message in asp.net. Or how to create notification bar or prompt using query in asp.net.

Today we all show that Many websites display notifications bar or information bar in top of the pages when some functionality is performed by user. Notification bar or information bar is nothing but it contains some text information, graphics or any other HTML.

Notification bar are very useful to  remember the user's choice of closing the notification bar. you can substitute anything in Notificatin Bar or Information Bar like: Twitter or Facebook "follow us" buttons, custom graphics, or advertisements.

To show Example of How to Upload Multiple File in MVC Application then click here upload multiple File in MVC

How to upload File and Fetch file from SqlServer and bind to Gridview fetch file from Sqlserver and bind to Gridview
crystal reportviewer toolbar


Description:-



In this example we explain that how to display Report Viewer toolbar in a single row in Google Chrome browser and Firefox browser. By default it display toolbar in a multiple rows in Chrome browser.


So here we explain SQL Server Reporting Services ReportViewer control has a toolbar that is not displayed correctly in Google Chrome browser and Firefox  because On Google Chrome, each button in the toolbar takes a separate line so  how to set toolbar of Report Viewer from multiple rows to single row in Chrome and Firefox browser.

So here we convert code into Browser compabality code so in every browser the report viewer toolbar are display in single row with same layout.

I was faced that type of problem and finally I got the solution

 As we know that In Chrome browser, Report Viewer (8 & 9) toolbar elements are displayed in multiple rows as shown below.


reportviewer tollbar




 after implementing below code the reportviewer toolbar will be display in single line like

reportviewer toolbar





To Show Example of How to Upload File in MVC Application then click here upload Image and bind to Gridview in MVC

To show Example of How to Upload Multiple File in MVC Application then click here upload multiple File in MVC


Code:-



<script type="text/javascript">
        $(document).ready(function () {
            if ($.browser.webkit) {
                $(".ms-report-viewer-control :nth-child(3) table").each(function (i, item) {
                    $(item).css('display', 'inline-block');
                });
            }
        });
    </script>
 

Fixing Report Viewer control toolbar in Google Chrome

crystal reportviewer toolbar


Description:-



In this example we explain that how to display Report Viewer toolbar in a single row in Google Chrome browser and Firefox browser. By default it display toolbar in a multiple rows in Chrome browser.


So here we explain SQL Server Reporting Services ReportViewer control has a toolbar that is not displayed correctly in Google Chrome browser and Firefox  because On Google Chrome, each button in the toolbar takes a separate line so  how to set toolbar of Report Viewer from multiple rows to single row in Chrome and Firefox browser.

So here we convert code into Browser compabality code so in every browser the report viewer toolbar are display in single row with same layout.

I was faced that type of problem and finally I got the solution

 As we know that In Chrome browser, Report Viewer (8 & 9) toolbar elements are displayed in multiple rows as shown below.


reportviewer tollbar




 after implementing below code the reportviewer toolbar will be display in single line like

reportviewer toolbar





To Show Example of How to Upload File in MVC Application then click here upload Image and bind to Gridview in MVC

To show Example of How to Upload Multiple File in MVC Application then click here upload multiple File in MVC


Code:-



<script type="text/javascript">
        $(document).ready(function () {
            if ($.browser.webkit) {
                $(".ms-report-viewer-control :nth-child(3) table").each(function (i, item) {
                    $(item).css('display', 'inline-block');
                });
            }
        });
    </script>