Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
246 views
Hi There
I have a very simple requirement inside Telerik Rad Grid, and I hope someone able to help me out here.
I have two set of dates say Start date and End date inside Grid and I am using Telerik:RadDatePicker in EditItemTemplate.
I have columns in my Grid from July to June(Total 12 months) which is by default hidden when I initial edit the Grid. What I want as soon as someone select the dates  in start and end data column based on dates selected it automatically display the column(July … june) using client application. I don’t want to use server side event as I have to enforce my users to enter values for these months.
For example if user put  initial start date: 12/07/2015 and End date is 30/10/2015 then as soon as date get selected it make the month of July to October visible using client event. If in case user change his mind and change the start date to 15/08/2015 then month of July should be disappear.
I am using the form edit mode of Rad grid
I hope it will be clear
Any questions please let me know
Thanks
Syed
Eyup
Telerik team
 answered on 18 Sep 2015
1 answer
128 views
Hi,
I have added function below for showing jobstatus in different color as per requirement. for that i have added some html code and showing as i want. 
  function page_load() {
            var $ = $telerik.$;
            var $header = $(".rsHeader h2");
            var result = '';
            result += '<Span class ="tab">' + "<u>Job Status:</u> " + '<Span class ="clr1"> ' + "Success" + '</span>' + '<Span class ="clr2">' + " Runing " + '</span>' + '<Span class ="clr3">' + " Failed " + '<span>' + '<Span class ="clr4">' + " Deleted " + '</span>' + '</span>';
            $header.html($header.html() + result)
        }
Code Behind:
   protected void Page_Load(object sender, EventArgs e)
        {
            Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "page_load()", true);
        }
 But after inserting record the labels not showing on header after  today date means page is not loading again. Please give me any idea ?? where we can call this function Page_Load(). You can see implemented changes in attachment image. 

Thanks,
shubh
Magdalena
Telerik team
 answered on 18 Sep 2015
1 answer
418 views

I have an older .NET 4.0 app that I have recently opened in Visual Studio. There are NO Telerik controls in this app, yet when I run the code on our server it is giving me this "Could not load type 'Telerik.Web.UI.RadUploadHttpModule'" error. 

Nowhere in the web.config or application or bin references any Telerik controls. The Telerik controls are available and show in the toolbox and I have made many other apps with Telerik controls, just not this particular app.

What am I missing here?

 Thanks.

Hristo Valyavicharski
Telerik team
 answered on 18 Sep 2015
1 answer
86 views

Dear All,

I have 3 upload controls and a single radbutton. What I want to achieve is; when files are selected, upload doesnot start yet. When the button is clicked; All uploads start; 

After all 3 uploads are finished; the radbuttons click event is fired.

Any ideas?

 Thanks a lot in advance,

 

<telerik:RadAsyncUpload ID="RadAsyncUpload1"  MultipleFileSelection="Disabled" runat="server"></telerik:RadAsyncUpload>
    <telerik:RadAsyncUpload ID="RadAsyncUpload2"   MultipleFileSelection="Disabled" runat="server"></telerik:RadAsyncUpload>
    <telerik:RadAsyncUpload ID="RadAsyncUpload3"  MultipleFileSelection="Disabled" runat="server"></telerik:RadAsyncUpload>
    <telerik:RadButton ID="RadButton1" OnClick="RadButton1_Click" runat="server" Text="Upload Files"></telerik:RadButton>​

 

 

Hristo Valyavicharski
Telerik team
 answered on 18 Sep 2015
1 answer
87 views

Hi,

I have CSS similar to this:

<AppointmentTemplate>
    <div style="height:95px;display:block;">
       <%#Eval("Subject")%>
    </div>
</AppointmentTemplate>



When there is more than appointment on the day, the appointments overlap and bleed into the cell below it.
AdaptiveRowHeight doesn't work.

Any suggestions?

Plamen
Telerik team
 answered on 18 Sep 2015
1 answer
57 views

Hi,

 When ContentAreaMode="Div" on a RadEditor, and you perform a "find", it does find and highlight the text but it will not scroll to it as it does in the default "Iframe" mode.  

Ianko
Telerik team
 answered on 18 Sep 2015
1 answer
325 views

I've seen this question addressed as a part of another thread  (http://www.telerik.com/forums/begin-in-edit) but I am not able to make this work.   I have a page with a RadDataForm that has an ItemTemplate, and InsertItemTemplate defined.  The RadDataForm is connected to a SQLDataSource via the DataSourceID property.  I tried using the PreRender event as follows to start the RadDataForm in insert mode:

       protected void ResourceDataForm_PreRender(object sender, EventArgs e) {
         if (!Page.IsPostBack) {
            (sender as RadDataForm).IsItemInserted=true;
            (sender as RadDataForm).Rebind();
         }

The page loads, but my insert template is not showing.  Actually, there is nothing that is showing from the RadDataForm.   If I load the page so that a record is displayed in the ItemTemplate, then I can successfully insert a new record using a RadButton that has a CommandName property of "InitInsert".

Any thoughts on what I'm doing wrong ?

 

Thanks -- Jeff Gaiche

 

 

 

Jeff
Top achievements
Rank 1
 answered on 17 Sep 2015
2 answers
44 views
For accessibility purposes, I need to change the collapse expand column to a custom template. How can I trigger that javascript from my own code?
Pavel
Top achievements
Rank 1
 answered on 17 Sep 2015
3 answers
110 views

I need to implement a very straightforward (and I believe most common) requirement to limit to a couple the predefined crop sizes in the crop dialog, e.g. 1000x500 and 950x500.

How can we do it? Based your documentation we must:

  • copy the crop dialog from installation file in separate folder
  • change the dropdown list in the crop dialog
  • configure the ImageEditor control to use external dialogs from that folder
  • use a hack described here http://www.telerik.com/help/aspnet-ajax/imageeditor-custom-crop-settings.html to init the crop box to the first predefined size tin the dropdown
  • keep using RenderMode="Classic" as the copied dialog is not rendered properly in Lightweight mode
  • anything missed?

It seems to be too much for such a simple task, isn't it? Same think to resize dialog.

I wonder is there a better/simpler way to accomplish this task which would work in any render mode?

I would really appreciate if the crop/resize dropdown items could be configurable at design time.

Thanks in advance.

Vessy
Telerik team
 answered on 17 Sep 2015
7 answers
172 views

I have all my images in byte[] and I would like to use it in a radtile list , is there an easy way to do this ?, all I see so far is that we need to have to Image URL

please help  

 

 

binny
Top achievements
Rank 1
 answered on 17 Sep 2015
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?