Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
123 views
How do I use RadDatePicker inside a Custom Server Control using HttpTextWriter? It seems that the Telerik control hates the invocation of `RenderControl` outside of a UI.Page class. Its a shame as the standard .Net controls honor `RenderControl(writer)` perfectly - yet Telerik controls don't. I assume this has to do with the script manager and registering events.

How can I get the flexibility of custom server controls whilst still being able to place Telerik controls inside them. User controls are not the answer.

Any suggestions or implementations?

Thankyou.
Eirik H
Top achievements
Rank 2
 answered on 23 Apr 2015
26 answers
1.0K+ views
Hello,

I am using a custom data object with a select-method that collects data from different tables, adding data from cached object collections etc. This is done with linq. It's working great with one exception: filtering data. When filtering data I cant get the filtering expression in a linq-syntax.

My radgrid has EnableLinqExpressions set to true, and my ObjectDataSource looks like below:

    <asp:ObjectDataSource ID="ObjectDataSource1" TypeName="MyNameSpace.DataAccessLayer.UserDataObject" 
        SelectMethod="Select" SelectCountMethod="SelectCount" EnablePaging="True" runat="server" 
        MaximumRowsParameterName="maximumRow" OldValuesParameterFormatString="original_{0}" 
        OnSelecting="ObjectDataSource1_Selecting" OnSelected="ObjectDataSource1_Selected"
        <SelectParameters> 
            <asp:Parameter Name="shopID" Type="Int32" /> 
            <asp:Parameter Name="filter" Type="String" /> 
            <asp:Parameter Name="sort" Type="Object" /> 
            <asp:Parameter Name="startRowIndex" Type="Int32" /> 
            <asp:Parameter Name="maximumRow" Type="Int32" /> 
        </SelectParameters> 
    </asp:ObjectDataSource> 


I set the parameters in the selecting-event of the ObjectDataSource:

    protected void ObjectDataSource1_Selecting(object sender, ObjectDataSourceSelectingEventArgs e) 
    { 
        e.InputParameters["shopID"] = thisShop.ShopID; 
        e.InputParameters["filter"] = RadGrid1.MasterTableView.FilterExpression; 
        e.InputParameters["sort"] = RadGrid1.MasterTableView.SortExpressions.GetSortString(); 
        e.InputParameters["startRowIndex"] = RadGrid1.CurrentPageIndex*RadGrid1.PageSize; 
        e.InputParameters["maximumRow"] = RadGrid1.PageSize; 
    } 

How can I get the filterexpression to be in a linq-friendly format so that I can use it in my linq-query?
Angel Petrov
Telerik team
 answered on 23 Apr 2015
7 answers
292 views
If you click on a dropdown in the iphone or ipad you get the keyboard popup, even though it is only a dropdown. There is no way to turn that off.
Dimitar
Telerik team
 answered on 23 Apr 2015
1 answer
60 views

Already I implemented custom sorting and custom paging with objectdatasource and database. Now I need to implement custom filtering in rad grid with objectdatasource and database.

Can you send me any sample solution?

Maria Ilieva
Telerik team
 answered on 23 Apr 2015
4 answers
124 views
Hi Team,

While we are using Telerik control functionality we are facing following issues. this is very serious and waste of our time also, Please check the following issue and let me know if already fixed.

Currently i am using Telerik Version 2013.3.1324.40

1.RadMenu

I am using RadMenu binding with LoadXml. i want to use EnableRootItemScroll="true". in that time i move the mouse continuously i got the alignment issue. please check the attached screen shot. if EnableRootItemScroll="false" it is working fine. but i want to use EnableRootItemScroll="true".
in this issue we can not tell users do not scroll more then one time. please check and let us know ASAP.

2.RadGrid Filter Case Sensitive using EntityDataSource

Case Sensitive is not working using EntityDataSource. but it is working in sqlDataSource. in this case we can not tell users case sensitive is not working. please check the attached Screen shot and let us know ASAP.

3. RadGrid Frozen Column not working using tab key

i am using Radgrid Frozen column. if use mouse to scroll for insert or update frozen column not hiding. but i use tab key for move next column frozen not working. Please check the Screen shot and let know ASAP.

4. RadGrid PDF not open in Apple IPad

i am using download ExportPDF from Radgrid. it is showing blank in Apple IPad. but it is working in Window and MAC. i download that PDF and change "Security Method". send to ipad through mail. not it is open. but we need to restrict default Security Method "Password Security". please check the attached screen shot and let us know the solution.


Above the issue we are facing various time and important also. we are answerable person to out client. we spend lot of time for these issues instead of development. please give some more effort for these issue and give the solution ASAP.


Thanks in Advance,
Dhamu
Tulika
Top achievements
Rank 1
 answered on 23 Apr 2015
2 answers
86 views

hi,

i bind hmtlchart from dataset i want to display just the datetime wich is into dataset but in displaying it's apear an interval of datetime 

in this pics you wille understanding me more and i use gridview to disply the data are in dataset plz help me i'm working in project and i need help quickly 

EssMus
Top achievements
Rank 1
 answered on 23 Apr 2015
3 answers
354 views

Hi all,

Currently I am facing a problem regarding Radgrid Group Footer Dynamic calculation.

I have a radgrid that have some GridTemplateColumns that allow me to key in some value

Example

 <telerik:GridTemplateColumn UniqueName="Quantity" HeaderText="Quantity"  DataField="Quantity" Aggregate="Sum" >
                                        
                                            <ItemTemplate>
                                                 <asp:TextBox ID="lbl_Quantity" Text='<%# DataBinder.Eval(Container.DataItem, "Quantity" , "{0:0.00}") %>'
                                                    Width="40px" runat="server" autopostback="true" onTextChanged="calQuantity"></asp:TextBox>
                                                <br />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>

 

 <GroupByExpressions>
                    <telerik:GridGroupByExpression>
                        <GroupByFields>
                            <telerik:GridGroupByField FieldName="Grp"></telerik:GridGroupByField>
                        </GroupByFields>
                        <SelectFields>
                            <telerik:GridGroupByField FieldName="Grp" HeaderText="Week"></telerik:GridGroupByField>
                        </SelectFields>
                    </telerik:GridGroupByExpression>

 

Group Footer displayed correctly when the grid load. However, what I was trying to achieve is when I change the value of the quantity it will auto recalculate the group footer. I tried to achieve it using onTextChanged="calQuantity" but not success.

Do you all have any idea on this? 

Thank you.

​

 

 

 

 

Eyup
Telerik team
 answered on 23 Apr 2015
1 answer
156 views

hi

is there any skin/easy way of implementing the tab strip in vertical mode , but having the text vertical too ?

 

Peter

Magdalena
Telerik team
 answered on 23 Apr 2015
2 answers
69 views

Can I use RadAutoCompleteBox for completing the text I write (not selecting single or multiple items) and bind just the text property in design time?

 

Ziga HABJAN
Top achievements
Rank 1
 answered on 23 Apr 2015
1 answer
162 views

Hi.
I am porting an old applications chart section from RadChart to RadHtml chart and am struggeling with how to edit serie items prior to rendering. The main problem is that since we are binding against an list of objects where some integer properties contains -1 values (which in our context means NULL/UNDEFINED). I cannot change this behaviour of the object since the system heavily rely on that fact.

When using RadChart we could "hook into" the series items in the ItemDataBound event. See example below.

How can I achieve the same thing with RadHtmlChart ?

BR
Johan

           

var columnInfo = _basicReportsPresenter.GetColumnInfoByName(e.ChartSeries.DataYColumn);
 
if (!columnInfo.ColumnInfoAttribute.DisplayNegativeValues)
{
    if (e.SeriesItem.YValue < 0)
    {
        if (_enableEmptyValues)
            e.SeriesItem.Empty = true;
        e.SeriesItem.YValue = 0;
    }
}

Danail Vasilev
Telerik team
 answered on 23 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?