Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
163 views
The stripped down version of our scenario is this:

We have two buttons behind one ajax panel.  When clicked, the first button needs to show one loading panel, and then second button needs to show a different loading panel when it is clicked.  We cannot place these items into separate ajax panels, they need to stay within the same panel (one button updates some properties on the other button).  Is there any way to change which loading panel gets triggered based on which button was clicked?
Attila Antal
Telerik team
 answered on 02 Sep 2019
1 answer
571 views

I have a radgrid storing key data from a SQL stored procedure. My grid is as follows:

      <telerik:RadGrid ID="keyGrid" runat="server" DataSourceID="Keys" AutoGenerateEditColumn="True">
            <GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
                <MasterTableView AutoGenerateColumns="False" DataSourceID="Keys">
                    <Columns>
                        <telerik:GridBoundColumn DataField="SerialNumber" DataType="System.Int32" FilterControlAltText="Filter SerialNumber column" HeaderText="SerialNumber" SortExpression="SerialNumber" UniqueName="SerialNumber" ReadOnly="True"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Type" FilterControlAltText="Filter Type column" HeaderText="Type" SortExpression="Type" UniqueName="Type" ReadOnly="True"></telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn DataField="Status" FilterControlAltText="Filter Status column" HeaderText="Status" SortExpression="Status" UniqueName="Status">
                            <EditItemTemplate>
                                <asp:DropDownList ID="DropDownList1" runat="server">
                                    <asp:ListItem>Assigned</asp:ListItem>
                                    <asp:ListItem>Lost</asp:ListItem>
                                    <asp:ListItem>Lost and Reassigned</asp:ListItem>
                                    <asp:ListItem>Returned</asp:ListItem>
                                </asp:DropDownList>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="StatusLabel" runat="server" Text='<%# Eval("Status") %>'></asp:Label>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn DataField="ApprovedBy" FilterControlAltText="Filter ApprovedBy column" HeaderText="ApprovedBy" SortExpression="ApprovedBy" UniqueName="ApprovedBy" ReadOnly="True"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="DateTime" FilterControlAltText="Filter DateTime column" HeaderText="DateTime" SortExpression="DateTime" UniqueName="DateTime" DataType="System.DateTime" ReadOnly="True"></telerik:GridBoundColumn>
                          </Columns>
        </MasterTableView>
           </telerik:RadGrid>

 

I have set up the update command through the data source configuration wizard, same as how I set up my data source for the grid itself. Code follows:

            <asp:SqlDataSource ID="Keys" runat="server" ConnectionString="<%$ ConnectionStrings:KeyTracking.My.MySettings.dbKeyTracking %>" SelectCommand="sp_Show_keys" SelectCommandType="StoredProcedure" UpdateCommand="sp_Update_key" UpdateCommandType="StoredProcedure">
             
                
                <SelectParameters>
                    <asp:ControlParameter ControlID="employeeCB" Name="empID" PropertyName="SelectedValue" Type="Int32" />
                </SelectParameters>
                <UpdateParameters>
                    <asp:Parameter Name="empNo" Type="Int32" />
                    <asp:Parameter Name="status" Type="String" />
                </UpdateParameters>
            </asp:SqlDataSource>

 

When I hit edit in my grid column, it pops up as it should, only editing Key Status. That is the only thing that will need updating. I can select a new value in the drop box that populates, hit save, and it close. The problem is, it does not refresh my radgrid to show the update. I am using an update procedure to perfom the update to the database, as follows:

CREATE proc [dbo].[sp_Update_key]
(@empNo as Int,
@status as varchar (50),
@SN as Int,
@type as varchar (50),
@approved as varchar (50),
@datetime as datetime
)

as

begin

update dbo.Keys
set Status=@status

where EmpID=@empNo
end 
GO

 

Where am I going wrong here?

I am still new and learning, so I can't quite figure out where things aren't firing correctly. 

 

Eyup
Telerik team
 answered on 02 Sep 2019
3 answers
291 views

I have a drop down tree in an asp.net web form with checkboxes.

I don't want to display child in the hierarchy if they are the same as the parent 

What is the best approach to this?

 

Vessy
Telerik team
 answered on 02 Sep 2019
3 answers
131 views

Whenever I include a link in the chat, it only shows as text.

 

How can I make the url display as a link and allow a user to click it?

Vessy
Telerik team
 answered on 02 Sep 2019
2 answers
287 views
I have a vb.net web 2010 application that I would like to convert to visual studio 2012 and add the Telerik tool.
Before I complete that step I will add the telerik.web.design, telerik.web.device.dection,telerik.web.ui, and the telerik.web.ui.skins tool as a reference  to the application and set the version to auto update. The references will be obtained
from C:\Program Files (x86)\Progress\Telerik UI for ASP.NET AJAX R2 2019\Bin40 files.
Now on the same computer,
I will convert the vb.net 2010 web form application to visual studio.2012 and obtain the files from: C:\Program Files (x86)\Progress\Telerik UI for ASP.NET AJAX R2 2019\Bin45 as a reference. Will I setup the references as 'Auto Update' or something else? If I set the version to something else, what would I set the version to?
Also can I have both the Telerik tool working on the same compiuter by using both Visual Studio 2010 and Visual Studio 2012 for the web form application? If so, are there any directions that I need to follow?
Rumen
Telerik team
 answered on 30 Aug 2019
1 answer
134 views

Dear ,

 

I use RadHtmlChart for create chart but I have problem cannot export image/pdf

because this my telerik version not have tool RadClientExportManager.

 

Please introduce me for solve this problem.

 

Thank you very much.

Peter Milchev
Telerik team
 answered on 30 Aug 2019
3 answers
141 views

Dear ,

 

I use rad chart but I have problem XAxis label show not full because I cannot set Height.

Sample on Image.

 

 

Vessy
Telerik team
 answered on 30 Aug 2019
6 answers
1.1K+ views
Hi,
I have a header, a footer and a body area. In body area I have a splitter which contains a left pane, a resizable splitbar, and a right pane. The right pane is content area where the data is presenting and the left pane is for navigation. when an user want to edit an object, the object is opened in a radwindow. The problem is that I want to set the position and size of the rad window to fill the content area so that the user doesn't know that the object is opened in a radwindow.

I'm able to set the height and width of the radwindow so it fits the content area from the client side, but i couldn't set the position of the radwindow at the same position.

One last question, how can I remove the titlebar och the statusbar of the radwindow making it transparent so it fits it the scen above?

Rumen
Telerik team
 answered on 30 Aug 2019
2 answers
108 views

I haven't changed this page for years and now I'm suddenly getting this error coupled with 'Cannot read property 'Classic' of undefined': 

The exact errors are attached.

 

Vessy
Telerik team
 answered on 30 Aug 2019
2 answers
1.5K+ views

Is it possible to change the DataField property of the GridBoundColumn based upon a selected value outside of the Grid?

 

thanks

John
Top achievements
Rank 1
 answered on 29 Aug 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?