Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
106 views
The problem I am having is that I want to customize the insert form of a radscheduler.  I have a resource that I want to use and I have a radeditor for the description box.  The problem I am having is that I I can add the resource and the combobox populates the correct resource everything looks great but when I submit the resource value is 0 or rather the resource selectedvalue is null.  So it appears that when I click on the combobox and select an item it never changes the selected item.

I figured out the problem.  Make sure that the ID of the resource user control in the advanced form does Not match the resourceType as this causes it to not validate the values properly.  Because the two way binding needs use the same name as the resource type.   In other words:

(works)
<ul class="rsResourceControls">
    <li>
        <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
        <scheduler:ResourceControl runat="server" ID="ResourceTypeID" Type="ResourceType" Label="Resource type:"
            Skin='<%# Owner.Skin %>' />
    </li>
    <!-- Optionally add more ResourceControl instances here -->
</ul>

[Bindable(BindableSupport.Yes, BindingDirection.TwoWay)]
public object ResourceType
{
    get
    {
        return ResourceTypeID.Value;
    }
 
    set
    {
        ResourceTypeID.Value = value;
    }
}

(doesn't work)
<ul class="rsResourceControls">
    <li>
        <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
        <scheduler:ResourceControl runat="server" ID="ResourceType" Type="ResourceType" Label="Resource type:"
            Skin='<%# Owner.Skin %>' />
    </li>
    <!-- Optionally add more ResourceControl instances here -->
</ul>
[Bindable(BindableSupport.Yes, BindingDirection.TwoWay)]
public object ResourceTypeID
{
    get
    {
        return ResourceType.Value;
    }
  
    set
    {
        ResourceType.Value = value;
    }
}
Boyan Dimitrov
Telerik team
 answered on 18 Dec 2012
3 answers
211 views
Hi there,

I am experiencing a problem when using drag and drop with Radlistboxes. 

Here is the scenario:

I drag an item from one Radlistbox and drop into the middle position of a second Radlistbox, When I iterate the items in the second Radlistbox using a foreach loop, it seems that the item I just dropped was iterated at the end of the loop. Isnt it suppose to be looped  in the middle? Any help or suggestions would be greatly appreciated.

Thanks,
Meng
Bozhidar
Telerik team
 answered on 18 Dec 2012
1 answer
35 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
108 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
95 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
566 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
152 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
226 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
78 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
92 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?