Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
207 views
I have a RadGrid and am using an EditForm for Inserting/Updating. The edit form type is a popup. In the EditForm, I call the ItemCommand code behind function this way:

<telerik:RadButton  CommandName="PerformInsert" ID="rbAddSubscription" runat="server" Text="<%$ Resources: global, string_addSubscription%>" OnClientClicking="btnAddSubscription"></telerik:RadButton>

It works fine. The row gets added to the DB, I rebind the grid, and all is well. But if I then refresh the browser page, the ItemCommand code behind function runs, and inserts the row again. The edit popup is closed. If I debug the ItemCommand during the page refresh, the CommandName is "PerformInsert". I've tried to clear the edit indexes, setting e.canceled = true, etc., but it stays the same. The popup form is not longer open, which is right. The the CommandName were no longer "PerformInsert", my problem would go away, as I'm checking for that in the ItemCommand.

Any insight would be very much appreciated.

 
Maria Ilieva
Telerik team
 answered on 18 Feb 2015
1 answer
193 views
I've searched the forum and come across these two threads which are exactly what I experienced, that is, the yellow dots blink and eventually stay solid near the end of the upload, and then IE freezes over and you can't click on anything (nor go to another tab) and the browser must be shut down.

http://www.telerik.com/forums/radasyncupload-blinking-yellow
http://www.telerik.com/forums/radasyncupload-1fc6f6296712

Points:
It only happens to IE11. Earlier versions work.
It doesn't always happens but it happens often enough (at least 1/2 times. Occassionally I can upload successfully)
  -this indicates to me that it's not an authentication issue? My site has Windows authentication only.
File location is a network drive (not sure if this is relevant)
Chrome browser always works without any issues. Only IE11.

When it happens the only way to quit is to shut down the browser by Windows Task manager.

Any help please? This has been going on for a while. I'm using 2014Q3.

Many thanks in advance.
Peter Filipov
Telerik team
 answered on 18 Feb 2015
6 answers
806 views
The text editing area of the editor seems to have about 3 lines worth of white space at the top that I can't reach or get rid of. I've tried various settings and width/height combinations but there is always that empty white space at the top. The code for the Editor I am using is enclosed below along with a screen capture. Thanks for any help in getting rid of the white space at the top.

<telerik:RadEditor ID="raeMessage" Runat="server" Width="340px"
Height="300px" EmptyMessage="Please type your message here..." MaxHtmlLength="10000" AutoResizeHeight="True" EditModes="Design" EnableResize="False">
<Tools>
<telerik:EditorToolGroup Tag="MainToolbar">
<telerik:EditorTool Name="FindAndReplace" RenderMode="Classic" />
<telerik:EditorSeparator RenderMode="Classic" />
<telerik:EditorSplitButton Name="Undo" RenderMode="Classic">
</telerik:EditorSplitButton>
<telerik:EditorSplitButton Name="Redo" RenderMode="Classic">
</telerik:EditorSplitButton>
<telerik:EditorSeparator RenderMode="Classic" />
<telerik:EditorTool Name="Cut" RenderMode="Classic" />
<telerik:EditorTool Name="Copy" RenderMode="Classic" />
<telerik:EditorTool Name="Paste" RenderMode="Classic" ShortCut="CTRL+V / CMD+V" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup Tag="Formatting">
<telerik:EditorTool Name="Bold" RenderMode="Classic" />
<telerik:EditorTool Name="Italic" RenderMode="Classic" />
<telerik:EditorTool Name="Underline" RenderMode="Classic" />
<telerik:EditorSeparator RenderMode="Classic" />
<telerik:EditorSplitButton Name="ForeColor" RenderMode="Classic">
</telerik:EditorSplitButton>
<telerik:EditorSplitButton Name="BackColor" RenderMode="Classic">
</telerik:EditorSplitButton>
<telerik:EditorSeparator RenderMode="Classic" />
<telerik:EditorDropDown Name="FontName" RenderMode="Classic">
</telerik:EditorDropDown>
<telerik:EditorDropDown Name="RealFontSize" RenderMode="Classic">
</telerik:EditorDropDown>
</telerik:EditorToolGroup>
</Tools>
<Content>
</Content>
<TrackChangesSettings CanAcceptTrackChanges="False" />
</telerik:RadEditor>
Ianko
Telerik team
 answered on 18 Feb 2015
3 answers
217 views
I am trying to adapt this demo to customize the pager in a telerik:GridTableView
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/customizingpager/defaultcs.aspx

I cannot figure out how to access the GridPagerItem in my GridTableView

Thanks,
JIm

Gaurav
Top achievements
Rank 1
 answered on 18 Feb 2015
8 answers
850 views
I have my own method and I am trying to findcontrol on a control inside the GridTemplateColumn, so I am doing it outside of the events for the radGrid. Is this possible and if so, how?

Thanks!
Rajnish
Top achievements
Rank 1
 answered on 18 Feb 2015
12 answers
305 views
Hi!

What we need is to get outlook appointment from a number of different users and show them
on a webpage. Here the RADscheduler could be our answer!!! I have just made some test, and it is very simple to
show ONE specific outlook users appointment in the RADscheduler. (see the code below)

But how do you show more than one exchange users appointment in different groups on a webpage using the RADscheduler control?
For example show the user JATOV, HAGER and WEKJK.

Do you have a good code example of that? and is it even possible...

 

<telerik:RadScheduler ID="RadScheduler1" runat="server" Height="800px">

</telerik:RadScheduler>

 

RadScheduler1.Provider =

 

New ExchangeSchedulerProvider(https://XXXXXX/EWS/Exchange.asmx, "XXXX", "XXXXX", "DOMAIN")

 

 

 



Ismael
Top achievements
Rank 1
 answered on 17 Feb 2015
3 answers
120 views
I have created an ASP.NET Web Application project in Visual Studio 2010 based on the telerik demo at http://demos.telerik.com/aspnet-ajax/captcha/examples/localization/defaultcs.aspx
The error can be easily reproduced.  I run the app locally and VS launches IE with a localhost web page.  Don't enter any code in this page at this moment.  Open another web page similar to the previous one. Now go back to the original page and enter the captcha code.  The code will be invalid.
Please, any idea why this happens?
Slav
Telerik team
 answered on 17 Feb 2015
4 answers
262 views
In my page I have a radgrid and a radwindowmanager with a couple of radwindows.
The radwindows have a ContentTemplate with a usercontrol in it.
In that usercontrol I have a form and some validators and validationsummary.
The WindowManager and the RadGrid are defined in my ajaxmanager, in both directions.

The window opens by clicking a commandrowbutton of the grid.

The issue I'm having is that my validators are firing multiple times.

    - Motivation is empty
    - Motivation is empty
    - Motivation is empty

Exactly as many times as I have rebound the grid on the page in fact. (times rebound since being on the page or since a successful submit of the window)
So somehow, the radgrid rebinding causes the validators to be registered again or something like that.

Should I define my window differently? Open the window differently? Is there a way to reset those validators or that window so it doesn't happen?
Marin Bratanov
Telerik team
 answered on 17 Feb 2015
9 answers
349 views
I am trying to get a RadComboBox to dynamically load the content when a user attempts to open the combo box.

The ComboBox is displayed in a RadGrid under the ItemTemplate (yes, not EditItemTemplate).

The problem is I get an error that says "The target {obj} for the callback could not be found or did not implement the ICallbackEventHandler.

What am I missing?   Here is my aspx:

<telerik:GridTemplateColumn HeaderText="Employee Type" DataType="System.String" >
    <ItemTemplate>
        <telerik:RadComboBox ID="uxEmployeeType" runat="server" Width="50px"
            DataTextField="Name" DataValueField="ID" EnableAutomaticLoadOnDemand="true"
            OnItemsRequested="uxEmployeeType_ItemsRequested" >
        </telerik:RadComboBox>
    </ItemTemplate>
</telerik:GridTemplateColumn>


And here is my code.  

protected void uxEmployeeType_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
{
    RadComboBox uxEmployeeType = (RadComboBox)sender;
    uxEmployeeType.DataSource = _empTypes.EmployeeTypesMembers;
    uxEmployeeType.DataBind();
}
Konstantin Dikov
Telerik team
 answered on 17 Feb 2015
1 answer
121 views
hi
can I,use  DropDownTree. with write on it for select Such as autoCompletebox?

in other words. I need DropDownTree with search  when I write on it .

thanks
Aneliya Petkova
Telerik team
 answered on 17 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?