Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
32 views
Hello,

I have a rad grid on a form that has to be filled out with details on a particular document. In the SQL DB, the form has its own unique ID, and the radgrids in it, have their own table, with the form ID as a foreign key in those tables. When I first create a form, I want to be able to add records to the radgrids, but it will give be a null exception, because it does not have a form ID yet. Can I get some help with this? Would I have to use a session variable? if so, I have never used a session variable and I am new to this. I am using vb.net.
Radoslav
Telerik team
 answered on 18 Dec 2012
3 answers
102 views
I have a fairly conventional RadGrid set up with a FormTemplate popup.  I put a pair of RadComboBoxes within a RadAjaxPanel (although that appears to have no effect on the basic problem.) This is a fairly conventional scenario. The SelectedIndexChanged of the first box updates the second one.

This works perfectly when the grid is in Edit mode but the SelectedIndexChanged fails when the template is in Insert Mode.

I see there are all too many entries in this forum about this problem but I haven't found anything that looks like a solution yet.

Is this something that will be fixed in the next release?
Antonio Stoilkov
Telerik team
 answered on 18 Dec 2012
1 answer
87 views
Hello,

I have a problem in Grouping and show  total of coulmn. Here is the RadGrid control:
 
   <telerik:RadGrid ID="gvDetails" runat="server" Width="100%" Height="570px" Skin="Hay"
                                AllowPaging="false" AllowSorting="true" PageSize="10" GridLines="None" AllowMultiRowSelection="false"
                                OnItemDataBound="gvDetails_ItemDataBound" OnPreRender="gvDetails_PreRender" OnColumnCreated="gvDetails_ColumnCreated"
                                OnItemCommand="gvDetails_ItemCommand" OnGroupsChanging="gvDetails_OnGroupsChanging"
                                ShowFooter="True" ShowGroupPanel="true">
                                <PagerStyle Mode="NextPrevAndNumeric" />
                                <FooterStyle Font-Bold="true" />
                                <HeaderStyle Font-Bold="true" />
                                <ClientSettings AllowColumnsReorder="true" AllowDragToGroup="true">
                                    <Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" />
                                    <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                    <Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
                                        AllowColumnResize="True"></Resizing>
                                </ClientSettings>
                                <GroupingSettings CaseSensitive="false" RetainGroupFootersVisibility="true" ShowUnGroupButton="true" />
                                <ExportSettings>
                                    <Pdf PageTitle="My Page" PaperSize="A4" />
                                </ExportSettings>
                                <MasterTableView Width="100%" TableLayout="Auto" CellSpacing="-1" GroupLoadMode="Client" AllowFilteringByColumn="true"
                                    CommandItemDisplay="TopAndBottom" ShowGroupFooter="true" AllowMultiColumnSorting="true"
                                    CommandItemSettings-ShowAddNewRecordButton="false">
                                    <CommandItemSettings ShowExportToCsvButton="true" ShowExportToPdfButton="true" />
                                    <NoRecordsTemplate>
                                        <div style="font-weight: bold; color: Red;">
                                            No Record Found.</div>
                                    </NoRecordsTemplate>
                                </MasterTableView>
                            </telerik:RadGrid>


And in behind Code, I bind from the Procedure in Dataset:


            gvDetails.DataSource = ds.Tables[0];
            gvDetails.DataBind();


How i can do to display the total sum to every column which display in the radgrid control.

i also check the following link:

http://www.telerik.com/help/aspnet-ajax/grid-perform-calculations-in-group-header.html
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-group-totals-for-dynamic-columns.aspx
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-grouping-with-calculated-subtotals.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/groupfooter/defaultcs.aspx
But I don't find any solution.


Please help me as soon as possible.

Thanks

Best Regards

Jiten Mutum
Antonio Stoilkov
Telerik team
 answered on 18 Dec 2012
3 answers
548 views
Hi all,

I am trying to filter a rad textbox in client side. I need to restrict special characters (eg. $, ^, # [,]) in it. How can I implement this?

Please provide me a solution for this.

Thanks and Regards
Shajan
Shinu
Top achievements
Rank 2
 answered on 18 Dec 2012
5 answers
138 views
Hi,

I am testing an application containing all kinds of telerik rad controls (ComboBox, DataGridView, TreeView, ect')
unfortunately, NON of them are recongnized by Visual Studio Coded UI Builder!

All I know is that my AUT uses Telerik Rad Controls for ASP.Net - 2010.3.

Please Help!!

Thank you,
Omri
Sahil
Top achievements
Rank 1
 answered on 18 Dec 2012
6 answers
213 views
How do I expand the current Row's detail table when I edit the row?

I've followed the code here and used the EditCommand event, but it doesn't work. Should I use the client-side object model instead?

Peter
Top achievements
Rank 1
 answered on 18 Dec 2012
2 answers
70 views
I've basically put in a minimal tooltip on a RadGrid based on this demo:   
http://www.telerik.com/community/forums/aspnet-ajax/grid/tooltip-per-radgrid-row-example-http-demos-telerik-com-aspnet-ajax-tooltip-examples-targetcontrolsandajax-defaultcs-aspx.aspx

2 questions.

1.  Are the techniques described here still fundamentally sound?

2.  I'm binding a RadTextBox to the return from a LinqToSql query.  The textbox is in multiline mode. The field it's bound to is set in another screen using the RadEditor.  i.e. it's rich text.   I was trying to see what would happen if I entered a particularly long string. I'm still testing but apparently sending it a string containing a great deal of HTML markup causes a RadToolTipManager response error = 500.  

(This is in part a 'political' question.  The powers that be like the RadEditor and how it allows 'colorful' text.  In this case I'm wondering if it's a good idea.  For that matter I wonder if including a RadEditor in read-only mode in the popup would be practical.)
Boris
Top achievements
Rank 1
 answered on 17 Dec 2012
4 answers
86 views
Hello,

I'm trying to upgrade my current WinForms application, to a webapplication, with a RadGrid.

I have the following problem: I want to have a checkbox in each row, and when I check it, it must change a row column. After that, a save action, must only update the selected rows. 

I have a table with a lot of receipts, and a table with invoices. In the receipts table, there is a comlumn, named InvoiceID, which binds the receipt to the invoice. Now, I want to have a RadGrid, with all unbinded receipts. Then, when I select a receipt, it must update the InvoiceID with a given number. Then I want to update the table, so the receipts are binded.

Maybe i'm not clear enough. Let me know.

I hope someone can help me.

Thye
Top achievements
Rank 1
 answered on 17 Dec 2012
4 answers
111 views
Hi,

I have two frames on my webpage: Menu frame, and content frame. I have RadSpell set up on the content frame. While spell checking is in progress (dialog open), if I use Menu frame to navigate content frame to a different URL, I am getting a javascript error. Is there any way to force close the spell check dialog when page is unloaded? Maybe a javascript function I can call upon onunload..?

Thanks!
Kate
Rumen
Telerik team
 answered on 17 Dec 2012
1 answer
211 views
Hello All,
I want on my page to force user to save all data before leaving page.
I have used Radprompt with window.onbeforeunload but it will give me two pop-ups one from IE and Other from RadPrompt.
I want only window from RadPrompt.
Can anybody help me for the issue.

Sample code as :

 

<script type="text/javascript"> 

 

var needToConfirm = true;

window.onbeforeunload = confirmExit;

 

function confirmExit() {

 

var ss;

 

 

if (needToConfirm)

{

ss= radalert(

 

'Save personal information', 350, 150, 'MY Message', null, null);

 

}

}


Thanks in advc.
Marin Bratanov
Telerik team
 answered on 17 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?