Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
212 views
Hi,

  Rad Scheduler Day and week view ,we have the option like resizing the appointment .I try to disabled that Property ( TimeSlotContextMenuSettings-EnableDefault="false".)
But still i can resize the appointment .Another 2 seconds it disappears.I am using the following code .
1. What is the property to disable the resize the appointment?
I had attached the screenshot for the reference.

  <telerik:RadScheduler ID="rdsCalender" SelectedView="WeekView" runat="server" DataEndField="EventDateTo"                            DataKeyField="EventID" DataSourceID="sqlEventSource" DataStartField="EventDateFrom"                            DataSubjectField="EventName" StartEditingInAdvancedForm="false" OnFormCreating="rdsCalender_FormCreating"                            Localization-ConfirmDeleteText="Are you sure you want to delete this event?"                            Font-Bold="true" DayStartTime="8:00:00" DayEndTime="21:00:00" Localization-AllDay="All Day"                            OnAppointmentDataBound="rdsCalender_AppointmentDataBound" Localization-HeaderToday="Today"                            EnableExactTimeRendering="true"  AppointmentContextMenuSettings-EnableDefault="true"                            TimeSlotContextMenuSettings-EnableDefault="false"  ><TimelineView UserSelectable="false" />                           </telerik:RadScheduler>


Thanks 
Prabha





Plamen
Telerik team
 answered on 23 Nov 2012
2 answers
83 views

Hi Friends,

Here i have written code like this




<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" ShowFooter="True"
            Style="outline: 0" GroupingEnabled="true" ShowGroupPanel="true" AutoGenerateColumns="False"
            AllowSorting="True" PageSize="15" Width="90%" GridLines="None" CellPadding="0"
            OnNeedDataSource="RadGrid1_NeedDataSource" Skin="Black" OnSelectedIndexChanged="RadGrid1_SelectedIndexChanged">
            <MasterTableView ClientDataKeyNames="ResourceName,MobileNo ,EMail ,CreatedBy ,CreatedOn"
                AutoGenerateColumns="false" ShowFooter="true" AllowFilteringByColumn="true" PagerStyle-Mode="NextPrevAndNumeric"
                TableLayout="Fixed">
                <Columns>
                    <telerik:GridBoundColumn DataField="ResourceName" HeaderText="Resource Name" UniqueName ="ResourceName" CurrentFilterFunction="equalto"
                        FilterDelay="1000" ShowFilterIcon="false" HeaderStyle-Width="120px" FilterControlWidth="105px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="MobileNo" HeaderStyle-Width="110px" HeaderText="Mobile"
                        FilterControlWidth="70px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="EMail" UniqueName ="email" HeaderStyle-Width="190px" HeaderText="E-Mail"
                        FilterControlWidth="120px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CreatedBy" HeaderText="Created By" CurrentFilterFunction="equalto"
                        FilterDelay="1000" ShowFilterIcon="false" FilterControlWidth="70px">
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn DataField="CreatedOn" HeaderText="Created On" DataFormatString="{0:d}"
                        PickerType="DatePicker" FilterControlWidth="70px">
                    </telerik:GridDateTimeColumn>
                </Columns>
            </MasterTableView>
            <ClientSettings EnablePostBackOnRowClick="true" EnableRowHoverStyle="true" AllowDragToGroup="true"
                AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder">
                <Selecting AllowRowSelect="True"></Selecting>
                 
                <Animation AllowColumnReorderAnimation="true" AllowColumnRevertAnimation="true">
                </Animation>
            </ClientSettings>
        </telerik:RadGrid>


protected void RadGrid1_SelectedIndexChanged(object sender, EventArgs e)
       {
           GridDataItem selectedItem = (GridDataItem)RadGrid1.SelectedItems[0];
           //
           txt_name.Text = selectedItem["ResourceName"].Text;
           txt_email.Text = selectedItem["email"].Text;
       }

Here the radgrid row select value not binded in rad textbox.Pls provide me the solution  soon ,I stuck up with this issue for nearly three days
ALEX
Top achievements
Rank 1
 answered on 23 Nov 2012
10 answers
271 views
Hey there guys,

We're using a RadGrid to display a list of records. When the user clicks the edit button we're using a UserControl as the input form so the EditFormType is set to WebUserControl. We also have a RadWindowManager on the page.

The problem is that we're not sure how to set the width and height of the window.
We've tried setting it with CSS, which doesn't work.
We've tried setting it using the RadWindow manager but that didn't work either.

Here's the source:
<telerik:RadGrid ID="RecordList" runat="server" AllowPaging="True" EnableEmbeddedBaseStylesheet="False" 
    GroupingEnabled="False" ShowStatusBar="True" DataSourceID="RecordsDataSource" 
    GridLines="None" ShowFooter="True" OnItemDeleted="RecordList_ItemDeleted" 
    OnItemUpdated="RecordList_ItemUpdated" OnUpdateCommand="RecordList_UpdateCommand" 
    AllowSorting="True" OnInsertCommand="RecordList_InsertCommand" OnItemCommand="RecordList_ItemCommand" 
    OnItemInserted="RecordList_ItemInserted" OnDeleteCommand="RecordList_DeleteCommand" 
    OnItemDataBound="RecordList_ItemDataBound" OnNeedDataSource="RecordList_NeedDataSource" 
     Skin="CustomHay" EnableEmbeddedSkins="false"
    <PagerStyle EnableSEOPaging="True" Mode="Slider" Position="TopAndBottom" /> 
    <MasterTableView  AutoGenerateColumns="False" DataSourceID="RecordsDataSource" EditMode="PopUp" 
        NoDetailRecordsText="No child records to display." NoMasterRecordsText="No records to display." 
        Summary="testing summary" DataKeyNames="RecordId" EditFormSettings-EditFormType="WebUserControl" 
        EditFormSettings-UserControlName="~/DesktopModules/Records/RecordEditor.ascx" 
        ShowFooter="True" InsertItemDisplay="Bottom" CommandItemDisplay="TopAndBottom"
        <CommandItemSettings AddNewRecordText="Add Record" /> 
        <RowIndicatorColumn Visible="False"
            <HeaderStyle Width="20px"></HeaderStyle> 
        </RowIndicatorColumn> 
        <ExpandCollapseColumn Visible="False" Resizable="False"
            <HeaderStyle Width="20px"></HeaderStyle> 
        </ExpandCollapseColumn> 
        <Columns> 
            <telerik:GridBoundColumn DataField="RecordId" DataType="System.Int32" HeaderText="RecordId" 
                SortExpression="RecordId" UniqueName="RecordId" Visible="False"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="RecordName" HeaderText="Record Name" SortExpression="RecordName" 
                UniqueName="RecordName"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="Submissions" DataType="System.Int32" HeaderText="Submissions" 
                SortExpression="Submissions" UniqueName="Submissions"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="ContactRequests" DataType="System.Int32" HeaderText="Contact Requests" 
                SortExpression="ContactRequests" UniqueName="ContactRequests"
            </telerik:GridBoundColumn> 
            <telerik:GridCheckBoxColumn DataField="SendSubmissionNotification" DataType="System.Boolean" 
                HeaderText="SendSubmissionNotification" SortExpression="SendSubmissionNotification" 
                UniqueName="SendSubmissionNotification" Visible="False"
            </telerik:GridCheckBoxColumn> 
            <telerik:GridBoundColumn DataField="NotificationRecipientsEmailAddresses" HeaderText="NotificationRecipientsEmailAddresses" 
                SortExpression="NotificationRecipientsEmailAddresses" UniqueName="NotificationRecipientsEmailAddresses" 
                Visible="False"
            </telerik:GridBoundColumn> 
            <telerik:GridCheckBoxColumn DataField="AllowContactMeEntry" DataType="System.Boolean" 
                HeaderText="AllowContactMeEntry" SortExpression="AllowContactMeEntry" UniqueName="AllowContactMeEntry" 
                Visible="False"
            </telerik:GridCheckBoxColumn> 
            <telerik:GridBoundColumn DataField="ContactMeRecipientsEmailAddresses" HeaderText="ContactMeRecipientsEmailAddresses" 
                SortExpression="ContactMeRecipientsEmailAddresses" UniqueName="ContactMeRecipientsEmailAddresses" 
                Visible="False"
            </telerik:GridBoundColumn> 
            <telerik:GridCheckBoxColumn DataField="IsEnabled" DataType="System.Boolean" HeaderText="Enabled" 
                SortExpression="IsEnabled" UniqueName="IsEnabled"
            </telerik:GridCheckBoxColumn> 
            <telerik:GridBoundColumn DataField="DateCreated" DataType="System.DateTime" HeaderText="Created" 
                SortExpression="DateCreated" UniqueName="DateCreated" DataFormatString="{0:yyyy, MMM dd}"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="DateModified" HeaderText="DateModified" SortExpression="DateModified" 
                UniqueName="DateModified" DataType="System.DateTime" Visible="False"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="CreatedByUserId" HeaderText="CreatedByUserId" 
                SortExpression="CreatedByUserId" UniqueName="CreatedByUserId" DataType="System.Guid" 
                Visible="False"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="ModifiedByUserId" HeaderText="ModifiedByUserId" 
                SortExpression="ModifiedByUserId" UniqueName="ModifiedByUserId" DataType="System.Guid" 
                Visible="False"
            </telerik:GridBoundColumn> 
            <telerik:GridEditCommandColumn> 
                <ItemStyle Width="20px"  /> 
            </telerik:GridEditCommandColumn> 
            <telerik:GridButtonColumn CommandName="Delete" ConfirmDialogType="RadWindow" ConfirmText="Are you sure you would like to delete this record?" 
                ConfirmTitle="Delete Record" Text="Delete" UniqueName="DeleteColumn"
                <ItemStyle Width="20px" /> 
            </telerik:GridButtonColumn> 
            <telerik:GridHyperLinkColumn DataNavigateUrlFields="RecordId" Text="Questions" UniqueName="QuestionsColumn"
                <ItemStyle Width="30px" /> 
            </telerik:GridHyperLinkColumn> 
            <telerik:GridHyperLinkColumn DataNavigateUrlFields="RecordId" Text="Results" UniqueName="ResultsColumn"
                <ItemStyle Width="30px" /> 
            </telerik:GridHyperLinkColumn> 
            <telerik:GridButtonColumn ButtonType="LinkButton" CommandName="Flush" ConfirmDialogType="RadWindow" ConfirmTitle="Flush Collected Data" ConfirmText="Are you sure you would like to flush the collected data for this record" Text="Flush"
            </telerik:GridButtonColumn> 
        </Columns> 
        <NoRecordsTemplate> 
            No records have been created yet.</NoRecordsTemplate> 
        <EditFormSettings EditFormType="WebUserControl" UserControlName="~/DesktopModules/Records/RecordEditor.ascx" 
            CaptionDataField="RecordName"
            <EditColumn UniqueName="EditCommandColumn1"  HeaderButtonType="TextButton"
            </EditColumn> 
            <PopUpSettings ScrollBars="None" /> 
        </EditFormSettings> 
        <PagerStyle Mode="Slider" /> 
    </MasterTableView> 
    <ClientSettings EnableRowHoverStyle="True"
        <Selecting AllowRowSelect="True" /> 
    </ClientSettings> 
    <StatusBarSettings LoadingText="Loading..." ReadyText="Ready" /> 
</telerik:RadGrid> 
<telerik:RadWindowManager ID="RadWindowManager" Height="150" Width="581" Skin="Hay" runat="server" KeepInScreenBounds="true"
</telerik:RadWindowManager> 

Any help would be appreciated.

Thanks,
Jacques
fransiscus agung
Top achievements
Rank 1
 answered on 23 Nov 2012
1 answer
150 views
Hi!

I've removed the Skin from my RadWindow since it doesn't fit the site (Skin=""), but it still seems to have the close button in there. Which is great - but currently it's totally invisible.  Is there a way for me to customize the look of the close button somewhere?

Cheers,
 -Brett
Princy
Top achievements
Rank 2
 answered on 23 Nov 2012
5 answers
348 views
Right now when i click on the header then it sorts the data automatically.
But is there a way i can change it and assign it to the background image of the header so that when the image is clicked it sorts the row. and also change the image behavior.
Right now i have images for sorting and they appear correctly.

But my client wants a image like an drop down arrow at the left of each header so that user don't need to hover over the header to see the click here to sort.

Is there a way we can make it done...
Shinu
Top achievements
Rank 2
 answered on 23 Nov 2012
2 answers
242 views
Hi.

i am having trouble about saving long numbers in my oracle database. :( i am trying to save some iban numbers (Exp: TR24 1234 2569 6963 5489 4589 12) . In order to view it in RadGrid with datastringformat property; as i read from the from pages; i have to save the digits in "number" datatype. So i seperated the TR part and the digits. but when i insert the long number (TR241234256969635489458912) into digit part in the oracle database, it shows it with exponent. and in RadGrid it shows 0s instead of numbers after some values. :(

i really could ont find the answer in the form.. 

Can you please help me to find a way to view it as shown below? 

           Oracle Database: RadGrid:
(TR241234256969635489458912     >>>>  TR24 1234 2569 6963 5489 4589 12

thank you.

Adem
Top achievements
Rank 1
 answered on 22 Nov 2012
1 answer
220 views
Hi..

i want to install a Radslider in my project but there is an error in it that i cant fixed :(

i copied the C# and the aspx codes from the page "http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx" but it gives me error like "The name 'startSlider' does not exist in the current context" :((

here are my to check.. it has been a day nearly but i could not find the error :((( please help..

Thanks to Telerik Team in advance..

Adem.


ASPX code:

<telerik:GridBoundColumn DataField="Yatan" HeaderText="Yatan" UniqueName="Yatan"
                                FilterImageToolTip="Süz" FilterControlAltText="Filtrele" HeaderStyle-Width="250px"
                                SortExpression="Yatan" DataFormatString="{0:###,###.## TL}">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                                 
                                <FilterTemplate>                             
                                  <div style="float: left; padding: 5px 10px 0 0">
                            0 TL </div>
                        <telerik:RadSlider runat="server" ID="RadSlider1" IsSelectionRangeEnabled="true"
                            Style="float: left" MinimumValue="0" MaximumValue="3000" SmallChange="100" Width="135px" ShowDecreaseHandle="false"
                            ShowIncreaseHandle="false" Skin="Sunset" AutoPostBack="True" SelectionStart='<%# startSlider %>'
                            SelectionEnd='<%# endSlider %>' OnClientValueChanged="ClientValueChanged" OnClientSlideStart="ClientSlideStart"
                            OnClientSlideEnd="FreightRangeChanged" />
                        <div style="float: left; padding: 5px 0 0 10px">
                            3000 TL </div>
                        <div style="clear: both">
                        <asp:Literal ID="Literal1" runat="server" Text='<%# "Showing range between: $" + startSlider + " and $" + endSlider %>' />
                        </div>
                        <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                            <script type="text/javascript">
                                function FreightRangeChanged(sender, args) {
                                    var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
 
                                    var startValue = sender.get_selectionStart();
                                    var endValue = sender.get_selectionEnd();
 
                                    tableView.filter("Yatan", startValue + " " + endValue, "Between");
                                }
                                function ClientValueChanged(sender, args) {
                                    var tooltip = $find("<%= RadToolTip1.ClientID %>");
 
                                    if (!tooltip.isVisible()) {
                                        var activeHandle = sender.get_activeHandle();
                                        if (!activeHandle) return;
 
                                        tooltip.set_targetControl(activeHandle);
                                        tooltip.show();
                                    }
                                    else {
                                        tooltip.updateLocation();
                                    }
 
                                    tooltip.set_text(args.get_newValue());
                                }
 
                                function ClientSlideStart(sender, args) {
                                    var tooltip = $find("<%= RadToolTip1.ClientID %>");
                                    tooltip.hide();
                                }
                            </script>
                        </telerik:RadScriptBlock>
                                </FilterTemplate>
 
 
                            </telerik:GridBoundColumn>


CS.code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using System.Data;
 
namespace MyFirstBudgetProgram.MyWebPages
{
    public partial class GelirEkleDuzenle : System.Web.UI.Page
    {
        
    
        protected void GelirEkleDuzenle_ItemCommand(object source, GridCommandEventArgs e)
        {
            if (e.CommandName == RadGrid.FilterCommandName)
            {
                Pair filterPair = (Pair)e.CommandArgument;
 
                switch (filterPair.Second.ToString())
                {
                     
                    case "Yatan":
                        this.startSlider = ((e.Item as GridFilteringItem)[filterPair.Second.ToString()].FindControl("RadSlider1") as RadSlider).SelectionStart;
                        this.endSlider = ((e.Item as GridFilteringItem)[filterPair.Second.ToString()].FindControl("RadSlider1") as RadSlider).SelectionEnd;
                        break;
                    default:
                        break;
                }
            }
        }
        protected decimal startSlider
        {
            set
            {
                ViewState["strSl"] = value;
            }
            get
            {
                if (ViewState["strSl"] != null)
                    return (decimal)ViewState["strSl"];
                else
                    return 0;
            }
        }
        protected decimal endSlider
        {
            set
            {
                ViewState["endSl"] = value;
            }
            get
            {
                if (ViewState["endSl"] != null)
                    return (decimal)ViewState["endSl"];
                else
                    return 3000;
            }
        }
         
        protected void Page_Load(object sender, EventArgs e)
        {
 
        }
         
    }
}

    
Adem
Top achievements
Rank 1
 answered on 22 Nov 2012
3 answers
108 views
Hi..

i am really struggling to learn about telerik tools and i really want to use the radgrid with its all features. But i was stucked with "putting a combobox in grid" :((

i have found many codes from telerik's site but i could not assign it to my own project :( i did all i could do but there was always errors.. :((

could you please help me and rescue me from this situation please.. 

here is my code of Radgrid.. i am new in telerik. 

and could you please give me some simple examples, tutorials etc. to make me get rid of this stressful situation please..

thanks to you..



here is my code :


<telerik:RadGrid ID="OdemeEkleDuzenle" runat="server" DataSourceID="AdemButce" AllowFilteringByColumn="True"
                    AllowPaging="True" AllowSorting="True" CellSpacing="0" Culture="tr-TR" GridLines="None"
                    Height="100%" PageSize="18" ShowGroupPanel="True" AutoGenerateColumns="False"
                    AllowAutomaticUpdates="True" AllowAutomaticInserts="True" AllowAutomaticDeletes="True"
                    Style="text-align: left" GroupingSettings-GroupContinuesFormatString=" Bir sonraki sayfada da devamı var.."
                    GroupingSettings-GroupContinuedFormatString=".. bir önceki sayfadan devam eden bilgiler.."
                    GroupingSettings-GroupSplitDisplayFormat="Showing {0} of {1} items.">
                    <GroupingSettings GroupContinuedFormatString=" ... Bir önceki sayfadaki gruplamanın devamı. "
                        GroupContinuesFormatString=" Gruplama Bir Sonraki Sayfada da devam ediyor... "
                        GroupSplitDisplayFormat="Toplam {1} kaydın {0} tanesi gösteriliyor.. " UnGroupButtonTooltip="Gruplamayı kaldırmak için burayı tıklayınız.."
                        UnGroupTooltip="Gruplamayı kaldırmak için sütunu buradan dışarı sürükleyin.." />
                    <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" AllowKeyboardNavigation="True"
                        ColumnsReorderMethod="Reorder" EnableRowHoverStyle="True">
                        <DataBinding EnableCaching="True">
                        </DataBinding>
                        <Selecting AllowRowSelect="True" />
                        <ClientMessages DragToGroupOrReorder="Gruplamak veya sıralamak için yukarıdaki gruplama alanına sürükleyip bırakın"
                            DragToResize="Yeniden boyutlandır" DropHereToReorder="Tekrar Sıralamak için buraya sürükleyip bırakın." />
                        <Resizing AllowColumnResize="True" />
                    </ClientSettings>
                    <GroupPanel Text="Gruplamak istediÄŸiniz sütunu buraya sürükleyin..">
                    </GroupPanel>
                    <MasterTableView AutoGenerateColumns="False" DataSourceID="AdemButce" Caption="ÖDEMELERİM"
                        AlternatingItemStyle-VerticalAlign="Middle" GridLines="None" CommandItemDisplay="Top"
                        NoMasterRecordsText="No Categories have been added.">
                        <CommandItemSettings ExportToPdfText="PDF dosyasına aktar" AddNewRecordText="Yeni Kayıt Ekle"
                            RefreshText="Listeyi Yenile" ExportToExcelText="Excel Dosyasına aktar" ExportToCsvText="Csv dosyasına aktar"
                            ExportToWordText="Word dosyasına aktar" />
                        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                        </ExpandCollapseColumn>
                        <Columns>
                            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                                EditFormColumnIndex="0" EditText="Düzenle" Groupable="True" HeaderStyle-Width="2%"
                                UpdateText="Güncelle" HeaderText="Dznl">
                                <HeaderStyle Width="2%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridEditCommandColumn>
                            <telerik:GridBoundColumn DataField="S_nu" DataType="System.Decimal" HeaderText="S_nu"
                                SortExpression="S_nu" UniqueName="S_nu" FilterImageToolTip="Süz" FilterControlAltText="Filtrele"
                                FilterControlWidth="80%">
                                <HeaderStyle Width="2%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="ADI" HeaderText="Ödeme Adı" SortExpression="ADI" UniqueName="ADI"
                                FilterImageToolTip="Süz" FilterControlAltText="Filtrele" FilterControlWidth="80%">
                                <HeaderStyle Width="10%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="KIMLIK" HeaderText="Alacaklı KiÅŸi / Firma" SortExpression="KIMLIK"
                                UniqueName="KIMLIK" FilterImageToolTip="Süz" FilterControlAltText="Filtrele"
                                FilterControlWidth="80%">
                                <HeaderStyle Width="10%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="BAS_TAR" DataType="System.DateTime" HeaderText="BaÅŸlama Tarihi"
                                SortExpression="BAS_TAR" UniqueName="BAS_TAR" DataFormatString="{0:dd MMMM yyyy}"
                                FilterImageToolTip="Süz" FilterControlAltText="Filtrele" FilterControlWidth="70%">
                                <HeaderStyle Width="8%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="BIT_TAR" DataType="System.DateTime" HeaderText="BitiÅŸ Tarihi"
                                SortExpression="BIT_TAR" UniqueName="BIT_TAR" DataFormatString="{0:dd MMMM yyyy}"
                                FilterImageToolTip="Süz" FilterControlAltText="Filtrele" FilterControlWidth="70%">
                                <HeaderStyle Width="8%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="ODENECEK_TUTAR" DataType="System.Decimal" HeaderText="Ödenecek Tutar"
                                SortExpression="ODENECEK_TUTAR" UniqueName="ODENECEK_TUTAR" DataFormatString="{0:###,###.## TL}"
                                FilterImageToolTip="Süz" FilterControlAltText="Filtrele" FilterControlWidth="80%">
                                <HeaderStyle Width="8%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="TAKSIT_SAYISI" DataType="System.Decimal" HeaderText="Taksit Sayısı"
                                SortExpression="TAKSIT_SAYISI" UniqueName="TAKSIT_SAYISI" FilterImageToolTip="Süz"
                                FilterControlAltText="Filtrele" FilterControlWidth="70%">
                                <HeaderStyle Width="6%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="TAKSIT_TUTAR" DataType="System.Decimal" HeaderText="Taksit Tutarı"
                                SortExpression="TAKSIT_TUTAR" UniqueName="TAKSIT_TUTAR" DataFormatString="{0:###,###.## TL}"
                                FilterImageToolTip="Süz" FilterControlAltText="Filtrele" FilterControlWidth="80%">
                                <HeaderStyle Width="8%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="ODEME_DURUMU" HeaderText="Ödeme Durumu" SortExpression="ODEME_DURUMU"
                                UniqueName="ODEME_DURUMU" FilterImageToolTip="Süz" FilterControlAltText="Filtrele"
                                FilterControlWidth="70%">
                                <HeaderStyle Width="10%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="NOTES" HeaderText="Notlar" SortExpression="NOTES"
                                UniqueName="NOTES" FilterImageToolTip="Süz" FilterControlAltText="Filtrele" FilterControlWidth="90%">
                                <HeaderStyle Width="20%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridButtonColumn Text="Sil" CommandName="Delete" ButtonType="ImageButton"
                                ItemStyle-Width="2%" ConfirmText="Bu bilgiyi silmek istediÄŸinizden emin misiniz?"
                                HeaderStyle-Width="2%" HeaderText="Sil">
                                <HeaderStyle Width="2%" HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
                                <ItemStyle Width="2%"></ItemStyle>
                            </telerik:GridButtonColumn>
                        </Columns>
                        <EditFormSettings EditColumn-CancelText="İptal" EditColumn-EditText="Düzenle" EditColumn-InsertText="Ekle"
                            EditColumn-UpdateText="Güncelle" ColumnNumber="4" CaptionFormatString="Bilgi Güncelleme Ekranı"
                            EditColumn-ButtonType="ImageButton">
                            <EditColumn FilterControlAltText="Filter EditCommandColumn column" ButtonType="ImageButton"
                                EditText="Düzenle" EditFormColumnIndex="0">
                            </EditColumn>
                        </EditFormSettings>
                        <AlternatingItemStyle VerticalAlign="Middle"></AlternatingItemStyle>
                    </MasterTableView>
                    <FilterMenu EnableImageSprites="False" CollapseDelay="700" EnableAutoScroll="True"
                        EnableRoundedCorners="True" ViewStateMode="Enabled" Width="100%">
                        <ExpandAnimation Duration="400" Type="OutElastic" />
                        <CollapseAnimation Type="InExpo" />
                    </FilterMenu>
                </telerik:RadGrid>
                <asp:SqlDataSource ID="AdemButce" runat="server" ConnectionString="<%$ ConnectionStrings:WaccooTablolar %>"
                    ProviderName="<%$ ConnectionStrings:WaccooTablolar.ProviderName %>" SelectCommand="SELECT * FROM &quot;ODEME_EKLE_GORUNTULE&quot;">
                </asp:SqlDataSource>
Adem
Top achievements
Rank 1
 answered on 22 Nov 2012
1 answer
28 views
Hello,

In IE8, there is a bug when setting content(doesn't matter client side - set_html() or server side Content property).
I want to set the content to :

Please find below details of your request:<br><br><table border="0" width="100%"><tbody><tr><td width="300px" valign="top">Thank you</td></tr></tbody></table>


But after is set, the content becomes :

Please find below details of your request:<BR><BR>
<TABLE border=0 width="100%">
<TBODY>
<TR>
<TD vAlign=top width=300>Thank you</TD></TR></TBODY></TABLE>


So I'm losing the markup(quotes are removed) what is crucial, as after that I must save that content to DB, and it is completely broken.

Could you please help me with this issue.

Rumen
Telerik team
 answered on 22 Nov 2012
1 answer
74 views

Hi,

I'm working on saving setting made by a user directly after the event. Exemple: i have a column A and a column B. My user take the column B and put it before the column A, so I've change the order of my two columns, and the setting are saved in my DB. I've try with :

Public Sub tmpGrid_Load(ByVal sender As Object, ByVal e As System.EventArgs)
    Dim tmpGrid As RadGrid = sender
 
    If tmpGrid.Page.IsPostBack Then
        Dim setting As New GridSettingsPersister(tmpGrid)
        Dim param As String = setting.SaveSettings()
    End If
End Sub

The code execute, SaveSettings execute correctly, but the change at screen is made after the event after when I reload my page, my setting are not correct. It's always save all my change but not the last. Exemple: My original order is A-B-C, I put C before A (C-A-B), and after, i put B before C (B-C-A). I quit the page, and I return on the same page after. What I see is C-A-B, not B-C-A. 

I've try with the event ColumnReorder, but the same problem occurs. I see that the event execute after my save is made. So how can I do the save after the event. I don't want that my user need to do something to save their setting.

Thank you


Visual studio 2008 .NET 3.5 SP1
Windows 7
Telerik ASP.NET AJAX 2012.1.301.2
VB.NET

Daniel
Telerik team
 answered on 22 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?