Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
44 views
Hi,

 I am getting this inside the RadNumaricTextbox control
FalseColor[Empty]Color[Empty]

Please help me
Dimo
Telerik team
 answered on 15 Oct 2010
1 answer
64 views
Hi,

I want Masks on RadNumaricTextbox,Is it Possible

Dimo
Telerik team
 answered on 15 Oct 2010
1 answer
310 views
Hi,

I started off by requiring the edit panel on the RadGrid to be disabled on enter key press.  I have managed to achieve this, the panel doesn't show anymore but the problem is that I now get an Ajax postback instead (I wasn't getting this on enter keypress before).

In the OnKeyPress for my grid I call the following javascript (see below).  This does stop the edit panel appearing

Telerik version: 2009.2.826.35 VS 2008 SP1

I have a RadGrid as follows and also a RadAjaxManager so that I get a LoadingPanel for the Grid:

                    <telerik:RadGrid ClientSettings-AllowColumnsReorder="true" ID="GridRecordList"
                        runat="server" EnableLinqExpressions="true" EnableViewState="false"
                        AllowFilteringByColumn="true" 
                        AllowSorting="true"
                        AllowAutomaticDeletes="false"
                        AllowAutomaticInserts="false"
                        AllowAutomaticUpdates="false"
                        AllowMultiRowEdit="false"
                        AllowPaging="true"
                        PagerStyle-Position="Bottom"
                        AutoGenerateEditColumn="false"
                        AutoGenerateDeleteColumn="false"
                        MasterTableView-AllowAutomaticDeletes="false"
                        MasterTableView-AllowAutomaticInserts="false"
                        MasterTableView-AllowAutomaticUpdates="false"
                        AllowMultiRowSelection="false"
                        GridLines="Horizontal" 
                        Skin="Outlook" PageSize="20" BorderStyle="None" 
                        onitemdatabound="GridRecordList_ItemDataBound">
                        <GroupingSettings CaseSensitive="false" />
                        <headercontextmenu>
                            <collapseanimation duration="200" type="OutQuint" />
                        </headercontextmenu>
                        <mastertableview AutoGenerateColumns="false">
                            <Columns>
                                <telerik:GridBoundColumn DataField="SourceRecordID" HeaderText="SourceRecordID" UniqueName="SourceRecordID" Display="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Application.ApplicationID" HeaderText="ApplicationID" UniqueName="ApplicationID" Display="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="DocumentCount" HeaderText="DocCount" EmptyDataText="Unknown" UniqueName="DocumentCount" Display="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Specialty.Name" HeaderText="Specialty" EmptyDataText="Unknown" SortExpression="Specialty.Name" UniqueName="Specialty">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Staff.ShortName" HeaderText="Staff Name" EmptyDataText="Unknown" SortExpression="Staff.ShortName" UniqueName="ShortName">
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn DataField="RecordDate" HeaderText="Record Date" EmptyDataText="Unknown" SortExpression="RecordDate" UniqueName="RecordDate" DataFormatString="{0:dd/MM/yyyy}" DataType="System.DateTime">
                                </telerik:GridDateTimeColumn>
                                <telerik:GridBoundColumn DataField="RecordType.DisplayName" HeaderText="Record Type" EmptyDataText="Unknown" SortExpression="RecordType.DisplayName" UniqueName="RecordType">
                                </telerik:GridBoundColumn>                                        
                            </Columns>
                            <SortExpressions>
                                <telerik:GridSortExpression FieldName="RecordDate" SortOrder="Descending" />
                            </SortExpressions>
                            <AlternatingItemStyle BackColor="#FFF4CE" Wrap="false" BorderColor="#FFECA5" BorderStyle="Solid" BorderWidth="2px" />
                            <ItemStyle Wrap="false" />
                            <rowindicatorcolumn>
                                <HeaderStyle Width="20px" BackColor="Purple" />
                            </rowindicatorcolumn>
                            <expandcollapsecolumn>
                                <HeaderStyle Width="20px" BackColor="Purple" />
                            </expandcollapsecolumn>
                        </mastertableview>
                        <filtermenu>
                            <collapseanimation duration="200" type="OutQuint" />
                        </filtermenu>
                        <ClientSettings AllowKeyboardNavigation="true"
                            AllowColumnsReorder="false" 
                            EnablePostBackOnRowClick="false"
                            Resizing-AllowColumnResize="true"
                            Scrolling-AllowScroll="true" 
                            Selecting-AllowRowSelect="true"
                            KeyboardNavigationSettings-EnableKeyboardShortcuts="true">
                                <ClientEvents OnGridCreated="GridCreated" />
                                <ClientEvents OnRowClick="GridRecordList_OnRowClick" />
                                <ClientEvents OnRowContextMenu="RowContextMenu" />
                                <ClientEvents OnKeyPress="GridRecordList_OnKeyPress" />
                        </ClientSettings>
                    </telerik:RadGrid>



                            function GridRecordList_OnKeyPress(sender, eventArgs) {
                                var e = window.event;
                                if (eventArgs.get_keyCode() == 13) {
                                    eventArgs.returnValue = false;
                                    eventArgs.set_cancel(true);
                                    eventArgs.cancelBubble = true;
                                    eventArgs.set_cancelBubble = true;
                                    e.cancelBubble = true;
                                    sender.blur();
                                    return false;
                                }
                            }
Tsvetina
Telerik team
 answered on 15 Oct 2010
1 answer
247 views
Hey everyone,

I want to create a radgrid which inserts records from insert command Add new records(Automatic insert),but i want this using datatable as dataSource.And once i have added records then i want my grid to be empty on a button click outside grid,and records get saved to database table.So,grid is again empty for inserting new records.When in insert mode,i have gridDropDownColumn,and 3 template columns with 2 labels and a numericTextBox.Is there any demo or example describing this scenario?...

Thanks
Amit
Shinu
Top achievements
Rank 2
 answered on 15 Oct 2010
1 answer
70 views
Just wondering if there is an easy way to add column borders for the grid?  I am using the default skin. (I don't want to use another skin, just add css styles for the existing skin or modify it.)  Also,  How exactly would I modify the default skin?  I already looked at all the help on this, and it said to modify the skin, but since it is embedded, where exactly do I download it from?  I don't understand how I can just modify it if it is in the dll. 

Thank you.
Shinu
Top achievements
Rank 2
 answered on 15 Oct 2010
4 answers
218 views
Hello Friends,

I have one page(Home.aspx) it has one tab strip control and each tab have 1 user controls inside it .
What I want is need one RadAjaxPanel and Loading panel inside Main page .And when doing any operation(From any User Control) at that I wanted to display Loading panel icon.

My Code Is as Follows :

<telerik:RadAjaxPanel ID="radAjaxPanel1" runat="server" EnableAJAX="true" LoadingPanelID="RadAjaxLoadingPanel1">
  <telerik:RadTabStrip ID="r1" runat="server" Width="100%" SelectedIndex="0"
                    MultiPageID="RadMultiPage1">
 <Tabs>
                        <telerik:RadTab Text="Tab1" Value="Tab1" runat="server">
                        </telerik:RadTab>
                        <telerik:RadTab Text="Tab2" Value="Tab12" runat="server" >
                        </telerik:RadTab>
                        <telerik:RadTab Text="Tab3" Value="Tab3">
                        </telerik:RadTab>
                    </Tabs>
                </telerik:RadTabStrip>
 <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0">
                    <telerik:RadPageView ID="RadPageView1" runat="server">
                            <uc:c1 ID="uc1" runat="server" />
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView2" runat="server">
                            <uc:c2 ID="uc2" runat="server" />
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView3" runat="server">
                            <uc:c3 ID="uc3" runat="server" />
                    </telerik:RadPageView>
            </telerik:RadMultiPage>
 </telerik:RadAjaxPanel>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"  Width="75px" Transparency="25">
    <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page,Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
                style="border: 0;" />
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager ID="ajaxmanagerMain" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
</telerik:RadAjaxManager>

It;s not showing Loading Icon Right now ...

So If anybody know what to do then please help me .

-Thanks 
Albert
Top achievements
Rank 1
 answered on 15 Oct 2010
1 answer
837 views
Team,

Kindly tell me the RadGrid Events Firing order...

for ex:

1) Radgrid_Prerender
2) Radgrid_ItemCommand

etc.,
Shinu
Top achievements
Rank 2
 answered on 15 Oct 2010
2 answers
46 views
Hello, guys.
I forward result of search to RadGridView.
At column, which points field of find I would like mark(color,bold) a portion of the text(search string).
How can I do this.


Thanks, Andrew
Andrew
Top achievements
Rank 1
 answered on 15 Oct 2010
2 answers
143 views
Help me to create multiple column filtering on a single click
I have 5 columns in a table. I want to filter this table according to first 3 columns. Display concatinated string of first tree columns in a seperate radcombobox. Combobox should have "ALL" default option. when user select ALL, show up all items in radgridview. when user type a letter, combobox should show up first three colum items. When postback rad grid should filter according to the selected three columns. filter the grid with first three column on a single click. Anybody can help me to complete this task.
Ben
Top achievements
Rank 1
 answered on 15 Oct 2010
3 answers
96 views
Hi Folks,

I've spent a bit of time trawling through the web looking for a solution for this problem. I can achieve my goals when the grid is bound server side, but I need the grid to be bound client side.

I am able to bind it client side alright, that isnt the problem , the problem is that when I'm using declarative  GroupByExpressions I get the error   Field xxxxx not found  in the source table, please check expression syntax. 

I understand why I'm getting this, the grid is getting rendered prior to the client databinding firing. and the dataset for the grid doesn't exist at this point.

I've tried using the client GroupColumn   method when binding the grid but no joy. 

has anyone managed to use grouping with client side binding, if so, can you please give me a pointer as to how to do it 

thanks 

Mark
mark
Top achievements
Rank 1
 answered on 15 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?