Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
68 views
Hi All,

I need to make to do some thing like this.

I need to add image/thumbnails on click on each box.

Let me know if someone knows how to do it.


Andrey
Telerik team
 answered on 05 Aug 2013
4 answers
249 views
I want to attach a context menu to each radgrid row runtime, as each row may have a different context menu.  I don't want to hard code the menu items in the context menu.

I am having a hard time figuring out how to do this.

Here is the code.

 Dim rmi3 As New RadMenuItem()

                Dim rcm3 As New RadContextMenu()

  Dim editZone As ContextMenuControlTarget = New Telerik.Web.UI.ContextMenuControlTarget()

                rmi3.Text = "Preparer"

                rmi3.Value = "1"

                rcm3.ID = "Role" & i

                rcm3.Items.Add(rmi3)

                Dim rmi4 As New RadMenuItem()

                rmi4.Text = "Reviewer"

                rmi4.Value = "2"

                rcm3.ID = "Role" & i

                rcm3.Items.Add(rmi4)

                Dim rmi5 As New RadMenuItem()

                rmi5.Text = "View PDF"

                rmi5.Value = "3"

                rcm3.ID = "Role" & i

                rcm3.Items.Add(rmi5)

                editZone.ControlID = row.dataitem("usqnumber")

                rcm3.Targets.Add(editZone)

                Me.Controls.Add(rcm3)

Andrey
Telerik team
 answered on 05 Aug 2013
1 answer
144 views
Hello,

I've uploaded files to Azure blobs using Telerik controls with the AsyncUpload control. The UploadedFile.InputStream works great with Azure's blob upload.

Is there a similar way to access the image stored in the ImageEditor control? My current idea is to save the file to the local VM and then use that stream to upload the blob.

Edit: Issue now is that the image is being saved from the ImageEditor control but it is not the edited image it is just the original - I think because I'm using a server side call.

I am using the most current version of Telerik ASP.NET controls on the most recent version of Chrome for Windows but would want the solution to work across all modern browsers (Chrome, FF, IE9+).

Thank you,

Shaw
Vessy
Telerik team
 answered on 05 Aug 2013
1 answer
124 views
Hi Team,

We have a scenario where the entire grid will be editable and the grid will have pagination.

What we are trying to achieve is - Let say user made changes to data on a page 1 and then if user clicks on any other page, we want to show a confirmation dialogue "Do you want to save the changes made..." with Yes - No - Cancel button.
If user selects 'Yes' then data will be saved and navigate to selected page
If user selects 'No' then data will not be saved and navigate to selected page
If user selects 'Cancel' then grid will remain on same page with all the edited data.

I assume if we have OnPageIndexChanging event in RadGrid then it could have been achived, but RadGrid only have OnPageIndexChanged event.

Kindly help on this. We are using Q3, 2011 version.

Regards
Tripati Patro
Angel Petrov
Telerik team
 answered on 05 Aug 2013
1 answer
95 views
Dear Team,

     One of our clinet PC cannot see Grid page navigation buttons when he open with IE 10. May i know need to change any settiong on IE or need to change code. But i use IE 10 i didn't face that error. We used Telerik Version 2011.3.1407.40.

Best Regards,
Alex
Konstantin Dikov
Telerik team
 answered on 05 Aug 2013
2 answers
1.0K+ views
Hi,

How to trigger double click event for RadGrid row. Is there any separate event for that?

I want to open a new page in radgrid row double click?

Kindly solve my issue as soon as possible. so that we can continue our production.

Thank you.
Manimozhi
Top achievements
Rank 1
 answered on 05 Aug 2013
2 answers
117 views
Hello...

I have an odd situation (which of course my QA team found). Basically, I am setup using the RadAsyncUpload control in manual upload mode (triggered by an upload button).

What I have noticed is that if the user selects file "A", then file "A" is deleted prior to clicking submit, then the upload control misbehaves. In this case, it actually is NOT throwing any type of error (I have tried various client events & also the server side event), but actually uploads a 0kb file with the same name as the original file.

Is this expected behavior? Is the best way to work around this to simply validate the existence of the file in my own code prior to initiating the upload?

Thanks!
-Brian
Plamen
Telerik team
 answered on 05 Aug 2013
3 answers
90 views
Hello,

I am using RadTabStrip with ScrollChild="true" but the last LI is always getting bumped to the bottom row. My tabs (.rtsLI) have a margin-right: 5px. I found out that if I remove that margin, it fixes the issue of the last tab getting bumped down. But, that is breaking the overall style. I have attached screen shots.

EDIT: I forgot to mention these tabs are dynamically generated.

Any help would be appreciated. Thank you.


Ryan
Nencho
Telerik team
 answered on 05 Aug 2013
4 answers
120 views
Hey,
I cannot at all update my radGrid. Tried possibly everything.

Please help me find out why. I simplified the problem to the following code.
Its only a little table of two columns, the key is seasonID.
I even tried to write the UpdateCommand manually and add the updateParameters. Nothing works,
I've been spending hours on this little thing. 

Thank you very much for your help!!

 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI"
                Name="Telerik.Web.UI.Common.Core.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI"
                Name="Telerik.Web.UI.Common.jQuery.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI"
                Name="Telerik.Web.UI.Common.jQueryInclude.js">
            </asp:ScriptReference>
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
     
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True"
            AllowPaging="True" AllowSorting="True" AutoGenerateDeleteColumn="True"
            AutoGenerateEditColumn="True" CellSpacing="0" DataSourceID="SqlDataSource1"
            GridLines="None">
            <ClientSettings>
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
            </ClientSettings>
<MasterTableView AutoGenerateColumns="False" DataKeyNames="seasonID"
                DataSourceID="SqlDataSource1">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridBoundColumn DataField="seasonID" DataType="System.Int32"
            FilterControlAltText="Filter seasonID column" HeaderText="seasonID"
            ReadOnly="True" SortExpression="seasonID" UniqueName="seasonID" ForceExtractValue="Always">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="seasonName"
            FilterControlAltText="Filter seasonName column" HeaderText="seasonName"
            SortExpression="seasonName" UniqueName="seasonName" ForceExtractValue="Always">
        </telerik:GridBoundColumn>
    </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
 
<PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
</MasterTableView>
 
<PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
        </telerik:RadGrid>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$ ConnectionStrings:tm2013ConnectionString %>"
              UpdateCommand = "UPDATE [tblseasons] SET [seasonName]=@seasonName where [seasonID]=@seasonID"
               SelectCommand="SELECT * FROM [tblseasons]">
             
            <UpdateParameters>
            <asp:Parameter Name="seasonName" Type="String" />
            <asp:Parameter Name="seasonID" Type="Int32" />
            </UpdateParameters>
              </asp:SqlDataSource>
     
    </div>
    </form>
</body>
</html>



Tal
Top achievements
Rank 1
 answered on 05 Aug 2013
1 answer
148 views
Hi

How can I set a fixed height for the autocompletebox? Currently even if I set a fixed height on adding tokens height is automatically increasing.

Thanks
Lovella
Shinu
Top achievements
Rank 2
 answered on 05 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?