Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
168 views
(Sorry, subject should be "Update Failes" but apparently you can't edit that)

I'm building a RadGrid against a LinqDataSource using a popup edit box. All goes well until I try to execute the update, at which time the following error occurs:

Could not find a row that matches the given keys in the original values stored in ViewState.  Ensure that the 'keys' dictionary contains unique key values that correspond to a row returned from the previous Select operation.


All the tables in the LinqDataSource have PKs enable and I make sure that the PK column is included in the grid.
Sebastian
Telerik team
 answered on 30 Oct 2008
2 answers
120 views
Hi,
              I am using radgrid in my project with the number of template columns in the grid.This grid is placed within the div and within the table i didnt give any height to this grid,div and also the table.So the problem arise here is i got the scroll in my page due to the grid.So i need to reduce the height of the grid.Then i give the height for the grid .But the grid still in the same height and it cant reduce their  height.It is in the same position.
           I dont know where is the problem is?

Give me the solution...

Thanks,
Giri
Giri
Top achievements
Rank 1
 answered on 30 Oct 2008
5 answers
106 views
Line 33: <assemblies>
Line 34: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 35: <add assembly="Telerik.Charting, Version=2.0.4.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>
Line 36: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 37:    

why am i receving this error message when i try to run this on the server.
Dimo
Telerik team
 answered on 30 Oct 2008
1 answer
174 views
Hi everybody,

I have a problem with the EnablePostBackOnRowClick when I also have a GridButtonColumn:

<telerik:RadGrid runat="server" AutoGenerateColumns="False" Skin="" CssClass="list"
    <MasterTableView AutoGenerateColumns="False" CssClass="list" AllowSorting="true"
        <HeaderStyle CssClass="listheader" /> 
        <ItemStyle CssClass="listline1" /> 
        <AlternatingItemStyle CssClass="listline2" /> 
        <Columns> 
            <telerik:GridBoundColumn UniqueName="src_id" DataField="src_id" HeaderText="ID" SortExpression="src_id"
                <HeaderStyle Width="20px" HorizontalAlign="center" /> 
                <ItemStyle Width="20px" HorizontalAlign="center" /> 
            </telerik:GridBoundColumn> 
            <telerik:GridButtonColumn UniqueName="DeleteColumn" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
                <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" Width="20px" /> 
            </telerik:GridButtonColumn> 
        </Columns> 
    </MasterTableView> 
    <ClientSettings EnablePostBackOnRowClick="true"
    </ClientSettings> 
</telerik:RadGrid> 

In the code behind :
protected void gridSources_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) 
    { 
         Trace.Log(e.CommandName);
    } 

When I click on a row, I have the RowClick CommandName, right.
But if I click on the ImageButton column, I have Delete CommandName and RowClick CommandName events. If I add a ConfirmText on GridButtonColumn, if I accept, I have Delete and RowClick events. If I decline, I have RowClick event.

Is there a method to disable RowClick event for GridButtonColumn to only have Delete event if I confirm action ?

Thanks.
Princy
Top achievements
Rank 2
 answered on 30 Oct 2008
2 answers
132 views
Hi all,
i have a problem on setting Grid.SelectedIndexes.

My grid is hirarchical with 3 levels.

1 - First i save Grid.SelectedIndexes on Session.
2 - Go to the details page
3 - On return  - Get SelectedIndexes from Session
4 - Set Grid.SelectedIndexes with GridIndexCollection getted from Session

What is the correct way to do step 4?

Thanks in advance and
best regards.

Flavio
solutionfactory
Top achievements
Rank 1
 answered on 30 Oct 2008
4 answers
231 views
Hi,
We are using Q1 2008 Rad controls in our application,We have a Rad grid,One of column of Rad grid is of DateTime Field,We want to perform Sorting in this Date time variable,But It is not sorting correctly..Previously You have suggested to use GridDateTimeColumn but  Still it is not sorting correctly,Actually our date format is mm/dd/yyyy So when we tried  GridDateTimeColumn then it is sorting according month then day but not according to year,but I want It 'll sort according to mm/dd/yyyy,Please suggest me how I'll handle this solutions.

Thanks

 

 

Rahul Khinvasara
Top achievements
Rank 1
 answered on 30 Oct 2008
2 answers
124 views
Hello,

I am using Rad grid ,update the RAD Grid  text box values in server side.I want to get the 'date picker value' and 'check box value' in server side code,how to get these values in update command.

Please advise

Thanks & Regards
Mani
Manikandan
Top achievements
Rank 1
 answered on 30 Oct 2008
1 answer
161 views
On an appointment in my calendar, I set a tooltip and a context menu. This work well but when i right click on appointment, I have the context menu but also the tooltip and the tooltip appear in front of context menu. Is it possible to disable tooltip on right click ?
Peter
Telerik team
 answered on 30 Oct 2008
1 answer
139 views
Hello,

If you see some mistakes in my sentences, don't hesitate to tell me (i'm french).
So, I have 4 Tabs in a radtabstrip control in a ASP .NET page and i want to make the second and the third tabs in visible = false (in page_prerender). This operation cause the next problem : my 4th tabs is not clickable.
Someone have an idea to resolve this problem?
Thank you for your answers.
gabriel
Top achievements
Rank 2
 answered on 30 Oct 2008
1 answer
103 views
is there any way I can add an enter or char(13) new line in the subject abn display It like that?
for example yif I add
Test1
Test 2

In the appinment I see Test1 Test 2

can someone help?

Thanks
Peter
Telerik team
 answered on 30 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?