Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
230 views
Hi,
I am user Upload control, Is there any possiblity to view the Uploaded image instantly before saving.





Thanks
Shinu
Top achievements
Rank 2
 answered on 11 Nov 2013
2 answers
262 views
One of our customers has reported a problem with the Editor using Chrome or Firefox.

The problem can be demonstrated quite easily using the demo editor, here: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

Steps to reproduce:

switch to HTML view

delete everything in the editor and paste in the following:

<p><strong></strong></p>
<img alt="" src="http://www.telerik.com/assets/img/telerik-navigation/telerik-logo.png" />

switch back to Design view

attempt to delete the 'empty space' above the image.


Using IE, the empty space (the <p> element) above the image can be removed easily - just click above the image and hit the delete key.

Using FF and Chrome, it is not possible to position the cursor above the image, on the <p> tag, so there is no way to remove the <p> element.

I guess the customer is pasting in a lot of html and is dealing with this problem frequently.

Is there a solution to this problem?  Thanks,

Trevor.
Ianko
Telerik team
 answered on 11 Nov 2013
2 answers
294 views
On client side how do you clear a textbox on change of a combobox that is on the same row.  They are both inside the radgrid. 

<telerik:GridTemplateColumn DataField="iActionID" FilterControlAltText="Filter iActionID column"
                    HeaderText="Issue" SortExpression="iActionID" UniqueName="iActionID">
    <ItemTemplate>
        <asp:HiddenField ID="HiddeniActionID" runat="server" Value='<%# Eval("iActionID") %>' />
        <telerik:RadComboBox ID="iActionID" runat="server" NoWrap="True"
            DataSource='<%# GetNextAvailableIssueTypes(Eval("iActionID")) %>' DataTextField="sActionDesc" DataValueField="iActionID"
            Width="200" SelectedValue='<%# Eval("iActionID") %>' EnableViewState="true" RenderMode="Lightweight"
            >
        </telerik:RadComboBox>
    </ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="sNewComment" HeaderText="Comments">
    <ItemTemplate>
        <telerik:RadTextBox ID="sNewComment" runat="server" Width="100%" Text='<%# Eval("sComment") %>'></telerik:RadTextBox>
    </ItemTemplate>
</telerik:GridTemplateColumn>
Richard
Top achievements
Rank 1
 answered on 11 Nov 2013
5 answers
136 views
I did install 2 major version telerik Q2 2012 and Q2 2013.

How do open 2 project in 2 Visual Studio 2012 IDEs, that one VS IDE load other version major telerik?

I tried but two VS IDEs load only one version telerik Q2 2012 or Q2 2013.

Missing User
 answered on 11 Nov 2013
1 answer
106 views
Hello All,
                 I have implemented custom paging on my radgrid. I am using the VirtualCount property to set the number of pages which works fine too. But when I page forward data for page shows up, but when I page back no matter which page I click all I can see is page one data. For some reason on paging backward always goes back to page one. 

I have enabled Viewstate for the grid RadGrid1.EnableViewState=true;  and ViewStateMode="disabled" it for the RadMultipage (where my grid sits). If enable both on the first attempt to page backward will show the same page after postback. I have to click twice to go the page desired. Somewhere the page number is cached, but don't know what is causing that. 

Thank you in advance
Kostadin
Telerik team
 answered on 11 Nov 2013
3 answers
150 views
Hi all, ho can i get data from a filtered Radgrid, using autogenerated columns.

Best Regards.
Princy
Top achievements
Rank 2
 answered on 11 Nov 2013
1 answer
105 views
Hey.

I have this problem, when i press a button that makes a postback, the height is not being sat properly.

.rpRootGroup {
            padding: 0px 0px 0px 0px !important;
            /* background-color: #808080 !important; */
            background: url(../images/ListeTopBg.gif) !important;
            border: none 0px #ffffff !important;
        }
 
 
        .rpRootGroup {
            background-image: url(Images/ulbg.jpg);
            padding: 0px 0px 0px 0px !important;
            border: none 0px #ffffff !important;
        }
 
        .rpText, .rpLink, .rpOut {
            color: #000000 !important;
            list-style: none;
            height: 30px !important;
            border: none 0px #ffffff !important;
            background: none !important;
            padding: 0px 0px 2px 2px !important;
            margin: 0px 0px 0px 0px !important;
            line-height: 30px !important;
        }
 
        .rpHeader {
            padding: 2px 0px 0px 0px !important;
            background-color: #f3f4f5 !important;
            /* background: url(../images/ListeTopBg.gif) !important; */
            border: solid 1px #808080 !important;
            height: 30px !important;
        }
 
        .rpListItem {
            list-style: none;
            color: #000000;
            height: 30px !important;
            border: none 0px #ffffff !important;
            background: none !important;
            padding: 0px 0px 2px 2px !important;
            margin: 0px 0px 0px 0px !important;
            line-height: 30px !important;
        }
 
        .rpListItemClicked {
            list-style: none;
            color: #000000;
            height: 30px !important;
            border: none 0px #ffffff !important;
            background-color: #f0f5df !important;
            padding: 0px 0px 2px 2px !important;
            margin: 0px 0px 0px 0px !important;
            line-height: 30px !important;
        }
 
        .rpListItem:hover {
            background-color: #f0f5df !important;
        }


<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="870px" Height="70%" ExpandMode="FullExpandedItem" ExpandAnimation-Type="OutSine">
            <Items>
                <telerik:RadPanelItem Text="Afdelinger" Expanded="False" CssClass="rpHeader" Height="30px">
                    <Items>
                        <telerik:RadPanelItem Text="Opret ny..." Expanded="False" CssClass="rpListItem" SelectedCssClass="rpListItemClicked">
                            <ContentTemplate>
                                <div>
                                    <table style="width: 855px">
                                        <tr>
                                            <td>Afdelingsnavn:</td>
                                            <td>
                                                <asp:TextBox ID="txtDepartmentName" runat="server"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td>Telefon nummer:</td>
                                            <td>
                                                <asp:TextBox ID="txtPhoneNumber" runat="server"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td>Adresse:</td>
                                            <td>
                                                <asp:TextBox ID="txtAdress" runat="server"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" style="text-align: right;">
                                                <asp:Button ID="Submit" Text="Gem" runat="server" /></td>
                                        </tr>
                                    </table>
                                </div>
                            </ContentTemplate>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Text="HG" Expanded="False" CssClass="rpListItem" SelectedCssClass="rpListItemClicked">
                            <ContentTemplate>
                                <div>
                                    <table style="width: 855px">
                                        <tr>
                                            <td>Afdelingsnavn:</td>
                                            <td>HG</td>
                                        </tr>
                                        <tr>
                                            <td>Telefon nummer:</td>
                                            <td>+45 22 33 44 55</td>
                                        </tr>
                                        <tr>
                                            <td>Adresse:</td>
                                            <td>Silkeborgvej 140, 8700 Horsens</td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" style="text-align: right;">
                                                <asp:Button ID="Edit" Text="Rediger" runat="server" /></td>
                                        </tr>
                                    </table>
                                </div>
                            </ContentTemplate>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Uddannelser" Expanded="False" CssClass="rpHeader" Height="30px">
                    <Items>
                        <telerik:RadPanelItem Text="Opret ny..." Expanded="True" CssClass="rpListItem" SelectedCssClass="rpListItemClicked">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Historie" Expanded="False" CssClass="rpHeader" Height="30px">
                    <Items>
                        <telerik:RadPanelItem Text="Opret ny..." Expanded="True" CssClass="rpListItem" SelectedCssClass="rpListItemClicked">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>

Magdalena
Telerik team
 answered on 11 Nov 2013
1 answer
299 views
Hi,

Can you tell me how to get the id of a dynamically created control in jquery
I am creating a RadDatePicker dynamically in C# like:
 RadDatePicker rd = new RadDatePicker();
rd.ID = "rd_"+ "i_"+ count;
rd.ClientEvents.OnDateSelected = "dateSelected";

where i and count are some dynamically generated variables.

Now inside javascript func:
function dateSelected(sender, args) 
        {
// get the id of the sender(date picker) control;
}
Shinu
Top achievements
Rank 2
 answered on 11 Nov 2013
1 answer
102 views
Hi,

i want to show a tooltip per field editor in my RadFilter.

Although i have set the Tooltip it is not showing.
CustomRadFilterDropDownEditorPure tmp_drop_down_field = new CustomRadFilterDropDownEditorPure();
tmp_drop_down_field.ToolTip = some_variable_with_text;

Markupcode is:
<telerik:RadFilter Skin="WebBlue" Width="100%" ID="RadFilter1" runat="server" ShowApplyButton="false"
AllowFilterOnBlur="True" OnPreRender="RadFilter1_PreRender"
OnFieldEditorCreating="RadFilter1_FieldEditorCreating"       
CssClass="RadFilter RadFilter_WebBlue" Culture="de-DE" ExpressionPreviewPosition="None" Visible="true">
</telerik:RadFilter>

Do you have an idea whats causing the problem?

Best regards
Jannis
Kostadin
Telerik team
 answered on 11 Nov 2013
7 answers
213 views

If you go to the RadScheduler Web Service demo on the Telerik website, one of the things that you will be able to observe is the Height of each appointment "node" that appears within the scheduler. Obviously, the Height of each appointment represents the start time / end time of the specific appointment. For example, the Height of the Strategic Planning appointment for Monday the 30th visually depicts a start time / end time of 10am - 11am. Compare this, for example, to the Height of the all day appointments listed for Thursday the 2nd.

In the upper-right of the scheduler are the different views (Day, Week, Month, Timeline). This demo defaults to Week view. If you click Timeline to change the view, notice that the start and end times are no longer included in this view, and all of the appointment "nodes" have the same Height.

Is there a way to specify or change the Height of the appointment nodes that appear in Timeline view?

Thank you,
Steven

Plamen
Telerik team
 answered on 11 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?