Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
283 views
Hi,
 
 I have saved my word files in the database as blob file. When i open that file is it possible to open using rad editor 
And provide a functionality to edit the document and save it back to database.

Thanks,
Nimmy
Arron
Top achievements
Rank 1
 answered on 08 May 2014
1 answer
93 views
Hi.

I am using this JS function on the client to resize the columns in a RadGrid located on a RadMultiPage. It works on FireFox as long as the Grid is "visible" i.e. in the active tab. If I do a post back from another Tab and then change back to the tab containing the Grid the MasterTableView has lost its width and the columns/headers are rendered inside the 0 px MasterTableView so they are not visible but they are there if i look at the html.

It works great on Chrome and IE but not on Firefox. Any ideas?

function ResizeGrid() {
    var grid = $find("<%= RadGrid1.ClientID %>");
    var masterTableView = grid.get_masterTableView();
    if (masterTableView) {
        var columns = masterTableView.get_columns();
        for (var i = 0; i < columns.length; i++) {
            columns[i].resizeToFit();
        }
    }
}

BR
Johan
Venelin
Telerik team
 answered on 08 May 2014
1 answer
42 views
Please double check the filter dropdown for Is Promoted filed in http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/filter-templates/defaultcs.aspx
When you select "No" the option "Yes" disappears from the dropdown. Similar for "Yes" - "No" disappears.
Konstantin Dikov
Telerik team
 answered on 08 May 2014
4 answers
147 views
In my radgrid I am using a template for the insert form. The followinf are th RadGrid properties I have implemented:

                this._RadGrid1.Skin = "WebBlue";
            this._RadGrid1.Width = Unit.Percentage(100);
            this._RadGrid1.GridLines = GridLines.None;
            
            this._RadGrid1.AutoGenerateColumns = false;
            this._RadGrid1.AllowSorting = true;
            this._RadGrid1.GridLines = GridLines.None;
            this._RadGrid1.PageSize = 100;
            this._RadGrid1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;
           
            this._RadGrid1.AllowPaging = true;
            this._RadGrid1.AllowSorting = true;
            this._RadGrid1.ClientSettings.DataBinding.EnableCaching = true;
            this._RadGrid1.EnableLinqExpressions = false;
            this._RadGrid1.MasterTableView.NoMasterRecordsText = string.Format("There are no records");
            this._RadGrid1.MasterTableView.Width = Unit.Percentage(100);
            this._RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;
            this._RadGrid1.MasterTableView.DataKeyNames = new string[] { this._OrderTable.OrderIdColumn.ColumnName };
            this._RadGrid1.MasterTableView.CommandItemSettings.ShowAddNewRecordButton = true;           
            this._RadGrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top;
            this._RadGrid1.MasterTableView.CommandItemSettings.AddNewRecordText = "Add Order task";
            this._RadGrid1.MasterTableView.AllowAutomaticInserts = false;
            //this._RadGrid1.MasterTableView.EditFormSettings.UserControlName = "AddOrderTaskControl.ascx";
            this._RadGrid1.MasterTableView.EditFormSettings.EditFormType = GridEditFormType.Template;
            this._RadGrid1.MasterTableView.EditFormSettings.FormTemplate = new InsertFormTemplate(this._OrderRequestId, this._SourceSystemTypeId, false);           
 
            this._RadGrid1.InsertCommand += _RadGrid1_InsertCommand;
            this._RadGrid1.ItemCommand += _RadGrid1_ItemCommand;
            this._RadGrid1.NeedDataSource += RadGrid1_NeedDataSource;

ON click of Add New button, the template opens but it does not have a Insert/Cancel button.
Princy
Top achievements
Rank 2
 answered on 08 May 2014
5 answers
227 views
Hi,
I have div that has barcode and QR. I want to control position of barcode and QR ( top , left , margin ) in code behind using c# because position coming from DB. 
How can I do that ? 
Thanks
Mariah
Top achievements
Rank 1
 answered on 08 May 2014
10 answers
249 views
Hi,

I am using a RADContentTemplateTile on the home page on my website to provide snapshots. when the user clicks on them they navigate to the actual page.
I want to display a hand cursor when I hover over it so that the user knows that the tiles are clickable.

below is a declaration of my tile:
<telerik:RadContentTemplateTile ID="RadContentTemplateTile1" runat="server" Name="balancesTile"
                            Shape="Wide" NavigateUrl="~/balances/balancesummary.aspx?MenuID=2&id=0" Width="460px"
                            BorderStyle="None">
                            <ContentTemplate>
                                <b>Balances</b>
                                <p>
                                    <bal:ucBalance ID="balanceSummary" runat="server" />
                                </p>
                            </ContentTemplate>
                        </telerik:RadContentTemplateTile>


Please suggest.
MBEN
Top achievements
Rank 2
Veteran
 answered on 07 May 2014
2 answers
199 views
Dears .

    kindly I need your support as I need to make if statement to compare between raddatepicker and datetime.now if raddatepicker for ex : 22/4/2014
and datetime.now give alert that it's in old date
Mohamed El-Sayed
Top achievements
Rank 1
 answered on 07 May 2014
1 answer
148 views
Hi,
This is first time I'm using teleric rad scheduler but telerik radscheduler not showing data on Saturday & Sunday. Or even color in cell [plase see attached snapshot].

My Code :

<telerik:RadScheduler runat="server" ID="RadScheduler1" Width="750px" DayStartTime="08:00:00"
                    DayEndTime="20:00:00" TimeZoneOffset="03:00:00" OnAppointmentInsert="RadScheduler1_AppointmentInsert"
                    OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" OnAppointmentDelete="RadScheduler1_AppointmentDelete"
                    DataKeyField="ID" DataSubjectField="Subject" DataStartField="StartTime" DataEndField="EndTime"
                    OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" CustomAttributeNames="AppointmentColor"
                    OnTimeSlotCreated="RadScheduler1_TimeSlotCreated"
                    AllowDelete="False" AllowInsert="False" EnableAdvancedForm="False" EnableResourceEditing="False"
                    OnNavigationCommand="RadScheduler1_NavigationCommand" OnNavigationComplete="RadScheduler1_NavigationComplete" 
                    SelectedView="MonthView" NumberOfHoveredRows="0">
                    <ExportSettings>
                        <Pdf PageTopMargin="1in" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in"></Pdf>
                    </ExportSettings>
                    <AdvancedForm Modal="true" Enabled="False" EnableResourceEditing="False"></AdvancedForm>
                    <TimelineView UserSelectable="false" GroupBy="ID"></TimelineView>
                    <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
                    <DayView DayEndTime="20:00:00" ReadOnly="True" ShowAllDayInsertArea="False" ShowInsertArea="False" />
                    <MonthView ReadOnly="True" VisibleAppointmentsPerDay="6" />
                    <AgendaView ReadOnly="True" />
                    <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
                </telerik:RadScheduler>





















Boyan Dimitrov
Telerik team
 answered on 07 May 2014
1 answer
46 views
Sorry this question is not related to Asp.net Ajax.But it is related to telerik product.

I post my question on stackoverflow also but no one reply me. And I am in problem so that i am asking this question here.

I created a application in asp.net MVC4.
I am using kendo components for UI. My version of kendo is 2013.3.1324. I want create a feature (http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx) using kendo grid in mvc4.

In simple words i want "editform" type in edit mode of grid.

I don't want to use template.Is there is any other way to implement feature like this?


Please help me.
Konstantin Dikov
Telerik team
 answered on 07 May 2014
4 answers
316 views
hi community,

does anyone know how to set the focus on a radinput within radwindow contenttemplate onload. i set VisibleOnPageLoad="true" at the radwindow. i have tried all the described methods on (http://demos.telerik.com/aspnet-ajax/input/examples/common/focus/defaultcs.aspx).

thanks
Bernhard
Gowtham
Top achievements
Rank 1
 answered on 07 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?