Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
Hi, i am using this version of telerik asembly:RadControls for ASP.NET AJAX Q2 2011
I am looking for a way to change the location of my date/time control, but i don't find the resources apropiate.
do you can specify a link for learn about it?, i was reading for some articles but i cant find mi localization dll or similar.

So, culture propierty when i set to "es-CO" does not change representation.

Thank you very much.
Pharsat
Top achievements
Rank 2
 answered on 16 Aug 2012
22 answers
192 views
How can I get the text of phonenumber in code behind with the following code?

<

 

telerik:GridBoundColumn DataField="phonenumber" HeaderText="phone number " UniqueName="phonenumber" AllowFiltering="false" />

 

 

<telerik:GridTemplateColumn>

 

 

      <ItemTemplate>

 

 

           <asp:LinkButton ID="LinkButton1" runat="server" Text="get phone number" OnClick="getphone"></asp:LinkButton>

 

 

      </ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

Protected

 

Sub getphone(ByVal sender As Object, ByVal e As System.EventArgs)

 

 

 

    Dim dataItem As GridDataItem

 

 

    Dim cell As TableCell = dataItem("phonenumber")

 

 

    Dim itemValue As String = dataItem["phonenumber"].Text  --------this gives error: Identifier expected.

    I also try the following and still cannot get the value of the phonenumber field:

 

    RadGrid1.MasterTableView.GetColumn(

"phonenumber").ToString())

 

 

End Sub

 

Lisa
Top achievements
Rank 1
 answered on 16 Aug 2012
3 answers
192 views
Hello! I'm starting to use this component and I have some doubts. I have on my page the following controls:

RadScriptManager1
RadAjaxManager1
RadAjaxLoadingPanel1

RadTabStrip1 // Filters for the query
RadMultiPage11
- RadComboBox111, RadComboBox112 and RadComboBox113.
RadMultiPage12
- RadTextBox121, RadDatePicker122 and RadButton.

RadTabStrip2 // Query values from dataTable
RadMultiPage21 
- RadHtmlChart211
RadMultiPage22 
- RadGrid221

------------------------------------------------------ 
Events:

1. Select filters;
2. I press the radButton;
3. Make the query;
4. I carry the dataTable;
5. Link the dataTable to the radGrid and radHtmlChart.

Problem:

The radGrid not showing values​​. Only when I group a column or orderer a column alphabetically, the values ​​appear. Are missing some event handler? This is the right way?

Thanks!


Pavlina
Telerik team
 answered on 16 Aug 2012
2 answers
90 views
Friends,
I am using Entityframe work in my project now what I am trying to do is bind a grid with objectdatasource , I have to load data from three tables.
There are around 5-6 tables I am trying to read data from. 
public IEnumerable<BetsDifficultToRead> GetBetsDifficultToReadsWithDetail()
        {
            return context.BetsDifficultToReads.Include("BetToBeSettled").Include("BetToBeSettled.BetDetails").Include("BetToBeSettled.BetDetails.Meeting").Include("BetToBeSettled.BetDetails.Event").ToList();
             
 
            //var test = (from h in context.BetsDifficultToReads
            //            select new
            //            {
            //                BetsDifficultToReadId = h.BetsDifficultToReadId,
            //                BetToBeSettledId = h.BetToBeSettled.BetToBeSettledId,
            //                UserId = h.UserId,
            //                ShortName = h.BetToBeSettled.BetDetails.Select(t => t.Meeting.ShortName),
            //                Expr1 = h.BetToBeSettled.BetDetails.Select(t => t.Event.ShortName),
            //                IsStartingPrice = h.BetToBeSettled.BetDetails.Select(t => t.IsStartingPrice),
            //                Stake = h.BetToBeSettled.Stake,
            //            });
            
        }

<telerik:RadGrid ID="radGridAllBets" runat="server" Skin="Metro"
    DataSourceID="odsAllBets" CellSpacing="0" GridLines="None">
    <MasterTableView DataSourceID="odsAllBets" AutoGenerateColumns="False">
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
        <Columns>
            <telerik:GridBoundColumn DataField="BetsDifficultToReadId"
                DataType="System.Int32"
                FilterControlAltText="Filter BetsDifficultToReadId column"
                HeaderText="BetsDifficultToReadId" SortExpression="BetsDifficultToReadId"
                UniqueName="BetsDifficultToReadId">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="UserId" DataType="System.Guid"
                FilterControlAltText="Filter UserId column" HeaderText="UserId"
                SortExpression="UserId" UniqueName="UserId">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="BetToBeSettled.BetDetails.Meeting.ShortName" DataType="System.String"
                FilterControlAltText="Filter EntityState column" HeaderText="EntityState"
                ReadOnly="True" SortExpression="Meeting.ShortName" UniqueName="Meeting.ShortName">
            </telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
    <FilterMenu EnableImageSprites="False">
    </FilterMenu>
</telerik:RadGrid>
<asp:EntityDataSource ID="edsAllBets" runat="server">
</asp:EntityDataSource>
<asp:ObjectDataSource ID="odsAllBets" runat="server" TypeName="EPOS.Web.Business.BetsDifficultToReadBL"
    SelectMethod="GetBetsDifficultToReadsWithDetail"
    OldValuesParameterFormatString="original_{0}"></asp:ObjectDataSource>


Below is the table structure  but I have issue I am not able to get value of all tables column, is I am doing wrong or there is any other best way! 

http://s10.postimage.org/l9eufbvt5/Capture.jpg

Thanks,
Shakti










Shakti SIngh Dulawat
Top achievements
Rank 1
 answered on 16 Aug 2012
4 answers
136 views
I replaced native DDL with Combobox:

<telerik:RadComboBox ID="ddlPatientSuchwort2" Runat="server" Culture="de-DE"
             DataSourceID="sqlWinacsPatientSuchwort" DataTextField="Suchwort"
             DataValueField="PublicNummer" AutoPostBack="True"
             EnableAutomaticLoadOnDemand="True"
             onselectedindexchanged="ddlPatientSuchwort2_SelectedIndexChanged"
             filter="StartsWith" EmptyMessage="Wähle Patient Name" Skin="WebBlue" >
           </telerik:RadComboBox>

Data source is stored procedure which returns about 8000 rows in format ID, Name

Now performance is terrible, before result was displayed immediately, now even on DEV machine I need to wait few seconds, but in prod environment event more than 5 secs. At the current stage system is almost not usable. Any ideas how Ican improve performance? 
berto
Top achievements
Rank 1
 answered on 16 Aug 2012
2 answers
75 views
Hello

I need save user selected radslider start and end values to session and restore to slider if page reloaded. 
any way to do it?

Kindly Regards

omer
Top achievements
Rank 1
 answered on 16 Aug 2012
5 answers
316 views
Hi,

I am using the ajax calendar extender inside a rad grid and it is not displaying properly.  I read the forum post on this issue and added the following to my page and still the calendar did not display properly.   
.RadGrid  td .CalendarBlue .ajax__calendar  td
{
    padding:0;
}

I am using a RadAjaxManager on my page so I removed it and my calendar displays correctly, but i need the to use the RadAjaxManager to show a loading panel.

How can I get the Calendar Extender to display correctly and use the RadAjaxManager.

Thank you for your assistance.

Tracy
Pavlina
Telerik team
 answered on 16 Aug 2012
6 answers
278 views
Hello Telerik Admin,

Please tell me the way how we increase the width of the Select button in Rad Upload control.
Mohammed
Top achievements
Rank 2
 answered on 16 Aug 2012
1 answer
115 views
how to set the avlue for scrollposition property value in .ascx page? or can we do it in code .cs page also?
Thanks! please let me know
Kate
Telerik team
 answered on 16 Aug 2012
1 answer
93 views
Hi,

Here is my problem .

i have a radstrip adding tabs using the scrollchildern value set to true in ASCX page.

<

 

telerik:RadTabStrip ID="RadTabStrip1" runat="server" Align="Left" Skin="<%$appSettings:TelerikSkin%>"

 

 

EnableEmbeddedSkins="False" MultiPageID="RadMultiPage1" AutoPostBack="True" OnTabClick="RadTabStrip1_TabClick" ScrollChildren="true" >

 

 

<Tabs>

 

 

<telerik:RadTab runat="server" Text="" Selected="true" Width="150px" >

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab runat="server" Text="" Visible="false" Width="150px">

 

 

</telerik:RadTab>

 

 

</Tabs>

 

</

 

telerik:RadTabStrip>

 


i click on the UI for some account(it has 14 types so i get 14 tabs instead of 18) it gives me the results and showing all tabs and scroll it to last and do search for another account in the same page(having 3 types) the radtabstrip is not visible for me . not even single tab. so i did in coding page as RadTabStrip1.ScrollPosition = -17;  it also wont work for me, can you give any solution? my code is in c#.

Thanks!
lalitha

 

Kate
Telerik team
 answered on 16 Aug 2012
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?