Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jaikanthn

    WCF - getting the below error when making an AJAX call from jQuery.

    Hi, I'm new to WCF. I'm getting the below error when I try to call a WCF service from jQuery. Error Code 415 - 'Cannot process the message because the content type 'application/json; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'. Here is the ajax call from jQuery:-...
  2. jaikanthn

    Gridview- Issue when navigating to page #X where PageButtonCount < 'X'

    Hi jbenson, I got it to work, finally. All I had to do was, put the line of code "grd.PageSize = 4;" before the statement grd.DataBind(); DataBind triggers the databind of ObjectDataSource which calculates the Page numbers based on TotalNumberOfRecords and TotalNumberOfRecords/Page (PageSize)...
  3. jaikanthn

    Gridview- Issue when navigating to page #X where PageButtonCount < 'X'

    hi jbenson, Thanks for the reply. This is an useful tip. I'll try to explain the reason behind going for an ObjectDatasource instead of a of a regualr Dataset(Datatable). This is not a regular pagination. Even though I show pages 1..10, I get the data corresponding to one particular page at...
  4. jaikanthn

    Gridview- Issue when navigating to page #X where PageButtonCount < 'X'

    Hi, grd.DataSource is set to an ObjectDataSource. The data displayed itself is fine and corresponds to the data that is supposed to be displayed on page #25. It's just the page numbers on the pager, which is causing the issue. Here is the code:- protected void Page_Load(object sender...
  5. jaikanthn

    Gridview- Issue when navigating to page #X where PageButtonCount < 'X'

    hi jbenson, Thanks for the reply. The grid lists dates as one of the columns and I have to set the page which has today's date as the start-up page (current page) when the grid is rendered. This page need not necessarily be the 1st page. This could be the 8th page or 25th page, for instance...
  6. jaikanthn

    Gridview- Issue when navigating to page #X where PageButtonCount < 'X'

    Hi, I have a gridview (using VS 2005) whose PageMode is "Numeric", PageButtonsCount is set to 10 and the PageSize (NumberOfRecordsPerPage) is 2. I'm planning to navigate to page # 25 programatically by setting grd.PageIndex = 25;. Even though the data populated in the grid correctly corresponds...
  7. jaikanthn

    Form's "target=_blank" causing problem! Please help.

    Thanks a lot. That worked! Thanks again.
  8. jaikanthn

    Form's "target=_blank" causing problem! Please help.

    Hi, I have a Form which has 4 user controls. The Forms <form> tag has "target=_blank" set. Hence, any submit in any user control opens up a new window. This is fine & as per the requirement. Now, I have a new user control I want to add, but I don't want the submit in this user control to open...

Part and Inventory Search

Back
Top