Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
338 views
By using this code image is not zoom as per provided value.But in image editor zoom value displayed as 40.
how can i zoom the image on reset function using java script.
I used this below code:

script:
function OnClientCommandExecuted(imageEditor, args) {
if (args.get_commandName() == "Reset") {
            imageEditor._zoomImage(40);
  }
}
Aspx:
  <telerik:RadImageEditor ID="rieControl" runat="server"
                        OnClientLoad="OnClientLoad" OnClientCommandExecuted="OnClientCommandExecuted">
  </telerik:RadImageEditor>
Arron
Top achievements
Rank 1
 answered on 21 Aug 2013
1 answer
141 views
I am using a RadWindow (which is being called from a parent window as a pop up) inside a aspx page.
Inside the rad window i have a Rad Text box and a Rad DateTime picker.
Refresh button and close button is Enabled for the rad window.

the radcontrols are populated to default values at the page load time.
Now if i select a date from date time picker and enter a number in the text box and click on the refresh button the values inside the text box and the date time picker remains what i have entered and selected. It should be defaulted back to the original values.

However this is happening only in Mozilla Firefox but this works fine in IE and Chrome.

Does anyone know what could be the cause or is that a bug in Firefox.

Marin Bratanov
Telerik team
 answered on 21 Aug 2013
4 answers
321 views
Hi,

In my application I have the requirement that users can rotate an inserted image. Can I achieve this functionality with the RadImageEditor? If yes, can you give me some hint how to implement this function?

Thank you
Arron
Top achievements
Rank 1
 answered on 21 Aug 2013
6 answers
115 views
 I need some spacing between select and clear buttons.

<td style="width: 350px">   
                                            <telerik:RadUpload ID="ruUploadFile" runat="server" AllowedFileExtensions=".txt,.xml"
                                                MaxFileInputsCount="1" ControlObjectsVisibility="ClearButtons" Width="345px"
                                                MaxFileSize="1000000000" Visible="false">
                                            </telerik:RadUpload>
 </td>
I attached the auto generated code also
Peter Filipov
Telerik team
 answered on 21 Aug 2013
3 answers
86 views

Hello,

    I have a user control and a hyper link which opens a radwindow and it contatins a grid to add and remove rows and the parent page has multiple user controls I need to call an event in another user control for any changes in radwindiw aspx page 's radgrid is this possible ?

 

Thank you

Sr

Eyup
Telerik team
 answered on 21 Aug 2013
3 answers
552 views
Hi Team, 
I have a form with a radgrid and two buttons viz. Enable and Disable.
When I click Disable, grid should get disabled with its paging, sorting, filtering and every property disabled.
When I click Enable, grid should get enabled with all its properties enabled.

I tried what has been said in this link.
But this link shows a way only to disable the grid from client side script. For enabling the grid, I need to fire the AjaxRequest event which I don't want to.
Also, the paging property does not get disabled.
I can still change the page index or page size, which causes postback and enables the grid again.

Could you please help me to enable and disable the grid from client side??
Any help appreciated.

Thanks,
Lok..
Konstantin Dikov
Telerik team
 answered on 21 Aug 2013
1 answer
93 views

I am able to edit only the last row in a radgrid.When I select any other row ..it throws an error..

"There was a problem extracting DataKeyValues from the DataSource. Please ensure that DataKeyNames are specified correctly and all fields specified exist in the DataSource."

All the datakeynames are defined, still getting the above error.

Did any one faced this problem..If I m able to edit one row why not others..please suggest.

Thanks

Jayesh Goyani
Top achievements
Rank 2
 answered on 21 Aug 2013
1 answer
102 views
Hello, I am facing the following problem:
some time ago to generate pdf made ​​from a Report was fast and normal, however now the same PDF with the same code takes about 5 minutes for the file generation can not identify What did this slowly leaving this generation, because in project (Location on my machine) generation is instantaneous, however when it is updated on the server (which by the way is much faster) application arrives to give "time out" so much time it takes to generate.
Slav
Telerik team
 answered on 21 Aug 2013
3 answers
250 views

I have a RadDropDownTree on my page as follows:

<telerik:RadDropDownTree ID="Tree1" runat="server" ButtonSettings-ShowClear="true" OnClientEntryAdded="EntryAdded" AutoPostBack="true" DefaultMessage="--Select--" DefaultValue="-1" OnEntryAdded="Tree1_EntryAdded">
    <DropDownSettings AutoWidth="Enabled" CssClass="raddropdowntree" />
</telerik:RadDropDownTree>

The EntryAdded client side event is used to collapse the dropdown upon selection and is as follows:

function EntryAdded(sender, eventArgs) {
    sender.closeDropDown();
    return true;
}

The EntryAdded server side event is currently blank.

My problem is that the server side event EntryAdded is not fired if I specify the OnClientEntryAdded client side event. Postback happens upon selection of any item in the dropdowntree, Page_Load is fired, but then the control returns to the page without invoking the EntryAdded event. Another issue is that after postback, my selected value is cleared and it goes back to the default value of "--Select--".

I also tried replacing the declaration with  OnClientEntryAdded="if(!EntryAdded()) { return false; }"  but this returns a JavaScript error, saying if is unexpected.

If I remove the client side event, the EntryAdded server side event is invoked and the selected value of the dropdowntree is also retained. 

The entire thing is in a RadAjaxPanel, if it helps.


Please advise. Thanks in advance.


Peter Filipov
Telerik team
 answered on 21 Aug 2013
3 answers
94 views
I am using radscheduler to show the appointments. i need to display yearly schedule in timeline view. So a slot will be for month and the header will be like 'January, 2013' 'February, 2013' and  so on. So far i have been able to achieve this functionality using the code below:
If e.Command = Telerik.Web.UI.SchedulerNavigationCommand.SwitchToMonthView Then
            e.Cancel = True
 
            rscCalendar.TimelineView.NumberOfSlots = 12
            rscCalendar.TimelineView.SlotDuration = System.TimeSpan.FromDays(30)
            rscCalendar.TimelineView.TimeLabelSpan = 1
            rscCalendar.TimelineView.HeaderDateFormat = "MMMM dddd MM/dd/yyyy"
            rscCalendar.TimelineView.ColumnHeaderDateFormat = "MMMM, yyyy"
            rscCalendar.SelectedDate = "1/1/2013"
end if
 Now, the problem i am having is, assigning the slot duration to number of days in a month. As you can see i am using System.TimeSpan.FromDays(30)now, its assigning the slot duration to 30 days. But i want to
assign the slot duration to individual slots. Is this possible and could you show me how to do
it?

Plamen
Telerik team
 answered on 21 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?