Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
548 views
I want to fire both client side and server side events on RadToolBarButton Click.Iam trying to achieve this with onbuttonclick and OnClientButtonClicked events. Is it possible?


Ragu
Shinu
Top achievements
Rank 2
 answered on 16 Jun 2014
1 answer
64 views
Hi,

I'm developing a web part with a RADGrid in it. My question is: is it possible to store the persistence in a web part property? I'm trying to do it using the Grid - Persisting Grid Settings as a start but I'm getting nothing good out of it.

Thank you.
Marin
Telerik team
 answered on 13 Jun 2014
1 answer
80 views
Hello everyone,

I've got something like this:

<telerik:RadTileList runat="server" DataSourceID="SqlDataSource1" ID="RadTileList1" Width="700px" TileRows="4" Skin="Glow">
           <DataBindings>
               <CommonTileBinding TileType="RadImageAndTextTile" Target="_blank" DataGroupNameField="Group" DataTitleImageUrlField="ImageLink" Shape="Square" DataNavigateUrlField="NavigateURL" />
               <ImageAndTextTileBinding DataTextField="Title" />
          </DataBindings>
</telerik:RadTileList>

When I click a tile it ought open link in a new window - but it doesn't, despite setting Target="_blank" in CommonTileBinding. Why it isn't working?

Regards
Marin Bratanov
Telerik team
 answered on 13 Jun 2014
1 answer
96 views
Hi,

I am using javascript to open the Radwindow. It works fine on the monitor screen but it doesn't open up in the middle of the page on the iPhone. It opens up on the upper left hand corner where the top part is cut off and I am not able to adjust the position of the window. How do I fix it so it opens up the whole window in the middle of the screen on iPhone.
Thanks,
Marin Bratanov
Telerik team
 answered on 13 Jun 2014
2 answers
255 views
I have 2 RadTimePickers on my page, example:
<telerik:RadTimePicker ID="rtpStartTime" TimeView-HeaderText="Start Time" runat="server" Width="90px" TimeView-Interval="0:15:0" TimeView-StartTime="7:0:0" TimeView-EndTime="17:0:0"></telerik:RadTimePicker>

I want to validate the value as a valid time, client-side, which looks very possible because it validates already visually by turning red with a caution icon.
I get the input value like this:
$("input[id$=rtpStartTime_dateInput").val()
but that returns the value whether valid or not.

In the mark-up I can see there is a clientstate hidden input, and there is a "validationText" sub-value that is an empty string when not valid or a date when valid.  I could use this I think but not sure how to grab it.  Here is what that markup looks like:
<input id="ctl00_ContentPlaceHolder1_rtpStartTime_dateInput_ClientState" name="ctl00_ContentPlaceHolder1_rtpStartTime_dateInput_ClientState" type="hidden" autocomplete="off" value="{"enabled":true,"emptyMessage":"","validationText":"2014-06-12-05-00-00","valueAsString":"2014-06-12-05-00-00","minDateStr":"1980-01-01-00-00-00","maxDateStr":"2099-12-31-00-00-00","lastSetTextBoxValue":"5:00 AM"}">

Any help is appreciated, thanks.

Coty
Coty
Top achievements
Rank 1
 answered on 13 Jun 2014
1 answer
220 views
Hi all,

I need you guys help on jquery to get all the input Type of RadTextBox in a panel and then clear the value each. I found example of jquery here 
http://forums.asp.net/t/1968988.aspx?Clear+Textbox+in+panel+using+jQuery 

But the input[type=text] itself has clear other control as well such as RadComboxBox as it has input[type=text] in it. How to find only the RadTextBox that contain in a panel and clear the value of it?

Thanks in advance.
Regards
Pui
Shinu
Top achievements
Rank 2
 answered on 13 Jun 2014
2 answers
375 views

I recently had a project upgraded from Telerik 2009.2.702.35 to 2014.1.403.40.  In my RadGrid_ItemDataBound event, I get the values from two of my bound columns and construct a string that I assign to a hyperlink column.  Prior to the upgrade, my code worked (and still works in an unconverted version).  After the upgrade, my code doesn't seem to work any longer.  It looks like one of my bound columns isn't getting assigned a value and contains the blank value default text "&nbsp"  now and I'm not sure why. When I interrogate the item row variable, I can see the data values in the ItemArray collection, but it doesn't seem to be available to me as a table column value when I try to extract it using the column's UniqueName.   In the code snippet below, the second value called "NIIN" is there, but the first value called "PIIN" ,isn't( I've verified that the SQL code that I'm using is extracting a value).  I can't explain why some of my bound columns don't contain data any longer and other columns do.    Any help that you can provide would be appreciated.

protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
    {
       if (e.Item is GridDataItem)
         {
            if (e.Item.OwnerTableView.Name == "LTC_ITEM")
                {
                  GridDataItem item = (GridDataItem)e.Item;
                  HyperLink hl = (HyperLink)item["LinkCol"].Controls[0];
                  if (hl != null)
                    {
                        string link = "itemdetail.aspx?PIIN=" + item["PIIN"].Text + "&NIIN=" + item["NIIN"].Text; ;
                        hl.NavigateUrl = link;
                    }

                    LTCHeader header = (LTCHeader)FormView1.DataItem;
                    if ((header != null) && (header.IsTerminated()))
                    {
                        GridDataItem di = (GridDataItem)e.Item;
                        DataBoundControl minQtyPerOrder = (DataBoundControl)di["MIN_QTY_PER_ORDER"].Controls[0];
                        DataBoundControl maxQtyPerOrder = (DataBoundControl)di["MAX_QTY_PER_ORDER"].Controls[0];
                        DataBoundControl maxQtyAvail = (DataBoundControl)di["MAX_QTY_AVAIL"].Controls[0];
                        minQtyPerOrder.Enabled = false;
                        maxQtyPerOrder.Enabled = false;
                        maxQtyAvail.Enabled = false;
                    }
                 }
           }    
     }

Shinu
Top achievements
Rank 2
 answered on 13 Jun 2014
2 answers
64 views
I want to hide the grey column on the left side of the gridview.
I column has a arrow on it, i think its a selection column.
Tiaan
Top achievements
Rank 1
 answered on 13 Jun 2014
1 answer
60 views
I am wondering if there is any way for the RadPersistenceManager to also retain the expanded item(s) of a Hierarchical Grid that is also utilizing paging/sorting/filtering.

I am aware of some older posts that discuss retaining the expanded item of a hierarchal grid but was wondering if I am missing something in particular to the RadPersistenceManager to have it retain this information for me.

Kostadin
Telerik team
 answered on 13 Jun 2014
6 answers
106 views
Hi

There are two radcomboboxes in the ASPX with MetroTouch skin and I want to add some different custom styles to the radcomboboxes as shown below.

<telerik:RadComboBox ID="rcbModelName" runat="server" Skin="MetroTouch" Width="100%"
EmptyMessage="Select Model" Height="120px">
</telerik:RadComboBox>
<telerik:RadComboBox ID="rcbColor" runat="server" Skin="MetroTouch" Width="100%"
EmptyMessage="Select Color" Height="120px">
</telerik:RadComboBox>
 
.RadComboBox_MetroTouch .rcbInputCell
{
      border: 1px solid Gray !important;
      background: #FFFFFF url("../Images/Icon1.png") no-repeat 3% 55% !important;
      text-indent: 12%;
}

When I apply the above style, its getting applied to all the radcomboboxes in the page with MetroTouch skin.

So how can I apply the above CSS using the ID so that it will be applied to the corresponding radcombobox only and similarly I can provide some other custom styles to the other combobox as well.

Thanks,
Vishnu.
Vishnu
Top achievements
Rank 1
 answered on 13 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?