Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
Hi,

How can I disable RadButton 10 seconds after the PageLoad?

Sigma.
Princy
Top achievements
Rank 2
 answered on 31 Aug 2012
3 answers
258 views
Hi,
I'm trying to change the color of the border of the sectors in this pie chart from the light-blue it seems to be defaulting to.
How do I access the property to make the change?
Evgenia
Telerik team
 answered on 31 Aug 2012
10 answers
1.1K+ views
Hi
In order to get better performance i want to use client side binding in data grid . i read numerous articles and also see demos
and read this thread

but the problem is in demo no method is using  masterTable.set_dataSourc but actually they provide demo for web services or with LinQ to SQLClasses
if i want to use following method as described in documentation
function assignDataSource()
{
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
  masterTable.set_dataSource(<some_data_source_of_the_specified_type_above>);
masterTable.dataBind();
}

i want to know how pass JSON data to this method. What would be written in class either it pass data set or data table and how it will be converted toJSOn. Please give me complete sample code for this
Shinu
Top achievements
Rank 2
 answered on 31 Aug 2012
3 answers
153 views
Hello,

I have a sharepoint page on which i am using third party control(QuestWEbpart) which uses teleric controls. So from javascript i want to set the date of date picker control?
how to do this? 

as i have seen posts to get datepicker like below but i could not find this id and in Content Editor webpart this syntax was giving error.
var datepicker = $find("<%= RadDatePicker1.ClientID %>");

So can you please suggest me how to set the date using javascript in SharePoint environemnt

Thanks-
Galin
Telerik team
 answered on 31 Aug 2012
1 answer
141 views

Hey Community,

 

i hope you can help me.

 

I use the RadListView Control. In that I have the asp.net image control.

I try to bind a path from my Database at the image in the RadListView Control.

 

But it doesn’t work…

I found this code:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
       For Each item As RadListViewDataItem In rlvGalerie.Items
            Dim fcimgGalerie As Image = DirectCast(item.FindControl("imgGalerie"), Image)
            Dim Verzeichnis As String = Hilfsfunktion.GetCRTUploadVerzeichnisZuordnung(13, "Dateisystem")
            fcimgGalerie.ImageUrl = Verzeichnis & "\" & SlidewayGalerie.GETDateiName(13)
        Next
End Sub

Thats the control definition:

        <telerik:RadListView ID="rlvGalerie" runat="server" DataSourceID="sdsGalerie" Skin="Windows7">
            <LayoutTemplate>
                <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
            </LayoutTemplate>
            <ItemTemplate>
                <div style="float: left; margin: 5px; padding: 2px; background: #eeeeee;" class="myClass"
                    onmouseover="containerMouseover(this)" onmouseout="containerMouseout(this)">
                    <asp:ImageButton ID="imgGalerie" ImageUrl="" Width='<%# ImageWidth %>'
                        Height='<%# ImageHeight %>' runat="server" OnClientClick="openRWGalerie(window.location.pathname;)"
                        Style="margin: 0; padding: 0;" />
                </div>
            </ItemTemplate>
        </telerik:RadListView>

I hope you can help my

Greetings Daniel
Sorry for my Englich

Princy
Top achievements
Rank 2
 answered on 31 Aug 2012
1 answer
120 views
Hi,

I want to show only the close button in the tittle bar of RadWindow. How can I remove all other buttons in the title bar of RadWindow?

Thanks in advance
Sigma
Princy
Top achievements
Rank 2
 answered on 31 Aug 2012
1 answer
52 views
Pie.htc (html component used for border-radius in IE8 and lower versions of IE).
not working inside of Telerik RadGrid in IE8.(its working perfectly outside of radgrid)

Please find the attached image file.
How can I solve this?
Please help me.

Jayesh Goyani
Top achievements
Rank 2
 answered on 31 Aug 2012
1 answer
67 views
I am trying to create an inbox service for my companies product, Everything works however for better use for users i would like them to be able to click on an item in a radgrid like they do below
Where i carry a piece of information to the redirected page (strid)

Protected Sub RadGrid1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles RadGrid1.SelectedIndexChanged
    If RadGrid1.SelectedItems.Count > 0 Then
        For Each item As GridDataItem In RadGrid1.SelectedItems
            Dim strid As String
            strid = item("UniqueID").Text
            Response.Redirect("MessageForm1.aspx?id=" + strid)
        Next
    End If
End Sub

But what i want to be able to do is open it in a new radwindow such as i do in the code below
function Message() {
    var ow = window.radopen('MessageForm1.aspx');
    ow.setSize(600, 1000);
    ow.set_title("MessageForm");
    ow.moveTo(400, 0);
 
    return false;
}

but still carry over the piece of information that i can get when i redirect

To clarify...
I currently use response.redirect because it allows me to transfer information, but I want to open a whole new rad window, and still transfer the information, is there any way to do this?
Thanks
Ryan
Princy
Top achievements
Rank 2
 answered on 31 Aug 2012
1 answer
94 views
How to add more space between remove icon and "Remove" text in attached image?
Shinu
Top achievements
Rank 2
 answered on 31 Aug 2012
1 answer
103 views
Hi:

I have a grid that I want to show check marks or x marks depending on whether a student has got a question right or wrong.  

The relevant columns in my grid are:

<telerik:GridBoundColumn DataField="IsCorrect" FilterControlAltText="Filter IsCorrect column"
                        HeaderText="IsCorrect" SortExpression="IsCorrect" UniqueName="IsCorrect" DataType="System.Int32">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn UniqueName="CheckMark" HeaderText="Status">
                        <ItemTemplate>
                            <asp:Image ID="TemplateColumn" runat="server" ImageUrl="~/Images/check2.gif" />
                        </ItemTemplate>
                        <ItemStyle Width="30px" />
                        <HeaderStyle Width="30px" />
                    </telerik:GridTemplateColumn>

Currently, I am able to show check marks by overriding the check mark with blank text - i.e.

protected void grdExamReults_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
         {
             GridDataItem dataItem = e.Item as GridDataItem;
 
             try
             {
                 if (dataItem["IsCorrect"].Text != "1")
                     dataItem["CheckMark"].Text = "";
             }
             catch
             {
             }
         }
However, what I would really like to do is to show an xmark (wrong.gif) if dataItem["isCorrect].Text !="1".

Any help on this greatly appreciated.

RBS

Shinu
Top achievements
Rank 2
 answered on 31 Aug 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
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
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?