I've got a custom site page in Windows SharePoint Services 3.0 that contains an SPGridView. When I use the search box on this page, I get the following error:
Unable to validate data. at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivTy...
When I group items in a SPGridView using the GroupField property the grouping works great but the total row count does not show up like in a standard SharePoint list. Usually SharePoint will display the count next to the group in parenthesis (i.e. Group 1 (5)). Is there a way to enable this functionality.
...
Hi..
I have a gridview (actually a SPgridview)
And i made the columnname clickable so the users can sort the rows using the data.
And that works fine.
The problem occurs when users try to select a row after they sorted the data.
I can see that the gridview kinda "forgets" how the rows were sorted and selects the row that was at the cl...
Hi all,
I'm using a spgridview to show data on a custom page. I want to show data in two groups to users. One: Year and Second: Month
I can set SPGridview.GroupField with a column name and it works, but i can't set the second one.
Do you have any idea about this issue.
İlker Çakır
wss/moss developer
...
I have enabled grouping in my SPGridView. If the records in the grouped field contain "&" symbol then the group text is displayed as string encoded. For e.g. if the records in the group by column contain "Cat&Dog" then the group by text is displayed as Cat&Dog. What I need is to display is Cat&Dog not "Cat&Dog" in my GroupBy Head...
Hello.
Problem
As we know, SharePoint saves data in database in plain text. Some fields even have concatenated strings like <id>;#<value> for user fields. Percents are saved as doubles (1.00000000000000 for 100%) and etc.
Ofcourse, I want to display data as they are displayed in lists.
What should I do?
Should I use derived SPBoundF...
Is there a way to extend the SPGridView control in a webpart such that a user can select the columns that they want to display? Kinda like when creating/modifying a view for a list?
Thanks
...
Hi,
I am using an SPGridView to present some data, and have enabled the filtering ability which works very well. Until you choose a particular item in the data to filter on...
The data item in question has an apostrophe in the string( e.g. "this is richards' string"), which causes the post-filter-application page load to die with the ...
Hello experts,
I've created webpart with SPGridView but I have one problem with it.
When I click on DateTime column Header, items in the header context dropdownmenu (which appears when you click on the header of the column) aren't sorted correctly.
Datasource is assigned via ObjecDataSource. Filtering on other types of columns (string...
Hi all
I am writing a web part which uses the SPGridView to display the data from SQL Server 2005. I am using the ObjectDataSource as the data source control.
Right noW, I can display the data from the sql server. I also can sort,fillter and update the item in the SPGridView. But I still have some problem, maybe someone meet them befor...
Hi
I have one sharepoint custom page application which is rendering from a user control. In the user control page, i had used SPGridview for displaying data. My first column is Title Column (link button column), when the user click on the link, then one popup window will open with corresponding data. But the problem is the link button i...
Hi,
I'm binding a GridView to a domain model object, this domain model object has a method for working out a formatted value to display on the grid. I'd like to use this method for my display value, which is fine, but I'd also like to be able to sort on the value returned by that method. My sort expression can only take in a property/...
hi,
I have a problem when trying to group item in my spgridview :
http://cid-412cbc9baadd47dc.office.live.com/self.aspx/.Public/error%20when%20trying%20group.jpg
The gridview take the groupfield to create group but only one item go into each group so i have :
Group A : item 1
Group B : item 2
Group A : item 3
and i want this (wich ...
Hello,
I want to stylize a SPGridview as row-based. I can do it in ASP .Net as follows (this is sample code and doesn't have a meaning. I wrote here because of describing the problem clearly on programmer side):
<asp:GridView runat="server" ID="myGrid" AutoGenerateColumns="false">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table>
<t...
Hi,
I am using an SPGridView control with an ObjectDataSource control in a SharePoint 2010 solution. The SPGridview allows me to sort and page through a list items OK, but I have noticed a problem when two SPGridView controls are placed on the same page. When I sort the lower SPGridView control by clicking on a column's header link, th...