Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
49 views
Hello Sir,

In my page i have menu control and radgrid.when i select menuitem and click add new record button from radgrid the radgrid dispay editform on top menu item..i want to add on selected menuitem. how can i do this.

thanks
Rizwan Ansari
Top achievements
Rank 1
 asked on 05 Jan 2011
4 answers
163 views
Hi,

Is is possible to have a conditional data export from the grid? For example let's assume we have a grid with 3 columns as shown below and "Export?" column will either have "Yes" or "No" value. If it has "Yes", that record has to be exported to excel else not?

ID  Name   Export?
1    Scott   Yes
2    Parker  No
3   Milan    Yes


Any help would be highly appreciated and wish you a very Happy New Year ahead.

Many thanks

M G


FISCAL
Top achievements
Rank 1
 answered on 05 Jan 2011
1 answer
90 views
I want to add some popup help on a tabstrip. The help will be specific to each tab. I can't ad an ID to a TabStrip Tab so how do I associate a ToolTip with one?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 05 Jan 2011
3 answers
92 views
Hi All,
I tried to use RAD Tree view with a custom skin  in ASPX 2.0, but its behavior is strange. It is not displaying +/- buttons with Parent nodes so can not expend/collapse the nodes and also the layout is strange too.  The skin is just renamed default skin and all the images are there but still the problem is there.

I think it might not be loading Javascript properly or initialization issue.

Thanks & Regards.
 
Simon
Telerik team
 answered on 05 Jan 2011
5 answers
483 views
I have a details view in an aspx page that contains the RadUpload control.  This is all encased in a RadWindow that pops up when a user clicks the edit link of a record in a RadGrid control.  When I specify a file to upload and submit the form I'm given a Bad Request (Invalid Verb) HTTP Error 400 page instead of it going back to the main window with the RadGrid, as it should.  This error doesn't occur if I don't specify a file to upload.  I'm not sure what the cause of this problem is, any help is appreciated.  I've included the piece of markup that includes my RadUpload control.  Let me know if more is needed.
<asp:TemplateField HeaderText="Upload Additional File" HeaderStyle-VerticalAlign="Top" ItemStyle-VerticalAlign="Top">
<ItemTemplate>
 <telerik:RadProgressManager ID="RadProgressManager1" runat="server" Skin="Vista" Height="16px" Width="500px" />
<telerik:RadUpload ID="RadUpload1" runat="server" MaxFileInputsCount="1" MaxFileSize="5242880" InputSize="60" Width="450px" ControlObjectsVisibility="None" ToolTip="Select file to attach to ticket (max filesize: 5MB)"  />
</
ItemTemplate>
</asp:TemplateField>

UPDATE:
I notice that this error only seems to occur on my development machine. Tried this on my test server and it works, wondering if there's some setting in IIS that's causing this.  But, again, this only seems to occur when I try to upload a file in my edit window.
Genady Sergeev
Telerik team
 answered on 05 Jan 2011
5 answers
172 views
I've a RadAjaxManager into a MasterPage and i want to refresh a RadGrid and a FormView into a User Control when I click to imbRefresh and I see this JS error:

'undefined' is null or not an object 

this is the code:

<telerik:RadCodeBlock runat="server">
    <script type="text/javascript">
        function Refresh() {
            $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequestWithTarget('<%= imbRefresh.UniqueID %>', '');
        }
    </script>
</telerik:RadCodeBlock>
<telerik:RadAjaxManagerProxy ID="rmpManager" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="imbRefresh">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="frv" LoadingPanelID="rlp" />                
                <telerik:AjaxUpdatedControl ControlID="rdg" LoadingPanelID="rlp" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadAjaxLoadingPanel ID="rlp" runat="server" Skin="MachinaWeb">
</telerik:RadAjaxLoadingPanel>
 
<asp:ImageButton ID="imbRefresh" runat="server" AlternateText="Refresh" CausesValidation="False"
    ImageUrl="~/Images/Refresh-25.png" OnClick="imbRefresh_Click" OnClientClick="Refresh(); return false;" />
 
<mwc:FormView ID="frvStabilimento" runat="server" DataSourceID="ods2">
......................
</mwc:FormView>
 
<mwc:RadGrid ID="rdg" runat="server" DataSourceID="ods"
    Height="340px" Type="Edit">
...............
</mwc:RadGrid>
 
 
Code Behind
 
    protected void imbRefresh_Click(object sender, EventArgs e)
    {
        rdg.Rebind();
        frv.DataBind();
    }

mwc are Server Controls that exted the original classes
Example:
Server Control RadGrid.cs is:

namespace MWC.ServerControls
{
    public class RadGrid : Telerik.Web.UI.RadGrid
    {
        protected override void OnInit(EventArgs e)
        {
           //default value in every RadGrid          
            AllowMultiRowSelection = false;
            AutoGenerateColumns = false;
            EnableEmbeddedSkins = false;
            EnableAjaxSkinRendering = false;
            ShowFooter = false;
...............................
           base.OnInit(e);
}
....................
}
Radoslav
Telerik team
 answered on 05 Jan 2011
1 answer
96 views

I use the following code for RadUpload control

<telerik:RadUpload ID="rdUploadCertificate" CssClass="rad-upload" runat="server" ControlObjectsVisibility="ClearButtons" AllowedFileExtensions=".doc, .docx" InitialFileInputsCount="1" MaxFileInputsCount="1"></telerik:RadUpload>

But while uploading a docx files, extension validation return false. I've tried it also for .xlsx.

I use the following code to validate file extension

return $find('<%= rdUploadCertificate.ClientID %>').validateExtensions();

Am I missing anything?

Shinu
Top achievements
Rank 2
 answered on 05 Jan 2011
11 answers
91 views
Hi there, is it possible to Inherit from the original FlashManager and modify for example the onPasteClient ?

I'm using Telerik.Web.UI , Version 5.2.0.0__1f131a624888eeed.
Rumen
Telerik team
 answered on 05 Jan 2011
1 answer
70 views
Hi

I am adding RadEditor with custom buttons. So i want to add 1 button  like "Add Image or Link" after click on it open dialog there ill a simple text box and button and 2 radio button Image or Link then after click button Insert it into Editor. how i can achieve this???


thanks
Rumen
Telerik team
 answered on 05 Jan 2011
5 answers
201 views
When a popup edit form is displayed by clicking either 'add item' or 'edit' on a radgrid, keyboard focus is not transfered to the edit form's controls. Focus stays with the radgrid, so when I hit enter when the popup is shown (even after typing in a textbox in the popup), then instead of submitting the edit form, it tries to delete a non-existent item from the grid
Radoslav
Telerik team
 answered on 05 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?