Telerik Forums
Community Forums Forum
1 answer
199 views

Write a review of any Telerik product at devtoolcafe and automatically be entered into our monthly cash draw. First Prize $500!
Simply visit www.devtoolcafe.com/company/telerik and select the product of your choice

Good Luck!

Fiona Blake

Sales & Marketing Director

devtoolcafe, the developer tool and software component marketplace community

http://www.devtoolcafe.com

 

Follow us on Twitter       Connect with us at LinkedIn        Like us on Facebook

angel
Top achievements
Rank 1
 answered on 24 Aug 2017
2 answers
81 views

Hi,

I've a requirement of exporting data from a set of datatables present in a dataset to excel in winforms App. All I could find in Telerik online documentations is RadGridView to Excel Export.

Please let me know if datatables in a dataset can be exported using telerik's spreadsheet dlls

 

Thanks & Regards

Braj

Brajendra
Top achievements
Rank 1
 answered on 18 Aug 2017
0 answers
104 views

This should be easy but I'm obviously missing something.  I have a RadGrid on my web page.  It loads correctly from my database.  I also have an Edit icon on the RadGrid.  I display an email address when clicked.  This works as well.  My email address displays and I can change the value and then update my database.  My question is how to change the width of the email address?  Not sure how to do this.  It seems to be a textbox control but not certain.  Any help would be appreciated.  Thanks in advance!

 

 

Bob
Top achievements
Rank 1
 asked on 15 Aug 2017
5 answers
373 views
I posted this here because I was unsure where this would go.

On a number of occasions recently (today being one of them), we will be running the control panel and the control panel will state "No Internet Connection".  We work around this by just downloading the msi files, but that is much more time-consuming and full of making mistakes.

This can happen on one developer machine and not another (equal builds....equivalent firewall and antivirus....our dev machines are controlled by a network imaging process).

So, we're a bit at a loss.  I and my other colleague have machines that are, for all intensive purposes, equal.  We have done the normal things of disabling antivirus, disabling firewall, closing out all notable programs, etc.  The thing is this doesn't happen on a consistent basis.  It will happen on one deployment server and not another.  Then, at another time, it will not happen on the previously affected server, and will happen on the previously unaffected server.

What we're looking for is some guidance as to how we can troubleshoot the problem.

Regards,
Doug
Nikolay Mishev
Telerik team
 answered on 10 Aug 2017
3 answers
259 views
Dear Team

i tried almost all the ways which i could find on internet but still unable to get the updated values from bound grid column.

plz check out my code lines.


aspx coding

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="frmViewUnitMaster.aspx.vb" Inherits="iTourism.WebForm1" %>
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" >
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
     
        <table style="width:100%;">
            <tr>
                <td>
                     </td>
                <td>
                    <asp:Button ID="btnAdd" runat="server" Text="Add" Width="69px" />
                    <asp:Label ID="lblMessage" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td>
                     </td>
                <td>
 
                    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                        <AjaxSettings>
                            <telerik:AjaxSetting AjaxControlID="UMGrid">
                                <UpdatedControls>
                                    <telerik:AjaxUpdatedControl ControlID="UMGrid" />
                                </UpdatedControls>
                            </telerik:AjaxSetting>
                        </AjaxSettings>
 
 
 
                    </telerik:RadAjaxManager>
    <telerik:RadGrid ID="UMGrid" runat="server" AutoGenerateColumns="False" GridLines="None"
                        AllowFilteringByColumn="True" AllowSorting="True" AutoGenerateEditColumn="True"
                        AllowPaging="True" Width="60%" ViewStateMode="Enabled" CellPadding="10"
                        CellSpacing="10" onupdatecommand="UMGrid_UpdateCommand" >
 
 
 
        <ClientSettings>
            <Selecting AllowRowSelect="True" />
            <Scrolling AllowScroll="True"  />
            <Selecting AllowRowSelect="True"></Selecting>
             
        </ClientSettings>
 
 
 
<MasterTableView EditMode="EditForms" DataKeyNames="UnitCode">
 
    <Columns>
     
        <telerik:GridBoundColumn DefaultInsertValue="" UniqueName="UnitCode"
            HeaderText="UnitCode" DataField="UnitCode" ReadOnly="True">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DefaultInsertValue="" UniqueName="UnitDesc"
            HeaderText ="Unit Description" DataField="Description" >
        </telerik:GridBoundColumn>
 
         
         
    </Columns>
 
    <EditFormSettings  EditFormType="AutoGenerated"  >
 
             
         
    </EditFormSettings>
 
 
</MasterTableView>
 
 
 
    </telerik:RadGrid>
                </td>
                <td>
                     </td>
            </tr>
            
        </table>
     
    </div>
    </form>
</body>
</html>



vb Code


Imports System
Imports System.Data
Imports Telerik.Web.UI
Imports System.Data.SqlClient
 
 
Public Class WebForm1
    Inherits System.Web.UI.Page
 
    Dim objclsUnitMaster As New clsUnitMaster
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
 
        UMGrid.AutoGenerateDeleteColumn = True
        UMGrid.AutoGenerateEditColumn = True
        UMGrid.DataSource = (objclsUnitMaster.GetUnitCodeList).Tables("UnitMaster")
        UMGrid.DataBind()
    End Sub
 
    Protected Sub btnAdd_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnAdd.Click
        Response.Redirect("frmUnitMaster.aspx")
    End Sub
 

 
    Private Sub UMGrid_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles UMGrid.ItemCommand
         
 
        If (e.CommandName = RadGrid.UpdateCommandName) Then
           
            Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem)
             
            Dim newValues As New Hashtable
            e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem)
   'not getting the updated value         
            lblMessage.Text = newValues("Description").ToString
        End If
  
 
        
    End Sub
 
     
 
    Private Sub UMGrid_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles UMGrid.NeedDataSource
        UMGrid.DataSource = (objclsUnitMaster.GetUnitCodeList).Tables("UnitMaster")
        UMGrid.DataBind()
    End Sub
 
 
    Public Sub UMGrid_UpdateCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles UMGrid.UpdateCommand
 
        ' Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem)
        'Dim MyUserControl As UserControl = CType(e.Item.FindControl(GridEditFormItem.EditFormUserControlID), UserControl)
 
 
        Dim _UnitCode As Integer = 0
        Dim _Description As String = ""
        Dim _Result As Long = 0
 
        Dim _item As GridEditableItem
        _item = e.Item
 
        Try

             _UnitCode = Convert.ToInt32(DirectCast(_item("UnitCode").Controls(0), TextBox).Text)
 'Unable to Get Updated Value using this also
            _Description = DirectCast(_item("Description").Controls(0), TextBox).Text
 
 
            _Result = objclsUnitMaster.UpdateUnitByCode(_UnitCode, _Description)
 
            If _Result = 0 Then
                lblMessage.Text = "Record Saved Successfully"
            Else
                lblMessage.Text = "Error While Saving Record" & " - " & _Result
            End If
 
            'UMGrid.Rebind()
        Catch ex As Exception
 
            lblMessage.Text = ex.Message
 
        End Try
 
 
 
 
    End Sub
End Class


if any body can help me regarding this .
Eyup
Telerik team
 answered on 02 Aug 2017
2 answers
87 views
I'm C# Windows phone developer and I have a plan to learn asp .net, but i couldn't find the best place to learn it on online. can anyone suggest some useful websites to learn asp.net fully.
Sunil
Top achievements
Rank 1
 answered on 29 Jul 2017
2 answers
101 views
Hi, guys! I'm making my first post on this forum and I saw a lot of topics. I appreciate finding out more about this site. Have a good day to all!
Aliaoberoi
Top achievements
Rank 1
 answered on 29 Jul 2017
6 answers
174 views
Hi,
     I'm a new user of telerik. I have a problem that theme was modified in Q2 is not support in the lastest version. I saw the source code of the theme project the structure are abit changed. What should I do. (The last time build the vista theme from your source code, but does not work).

Ball
Sr. Developer
Alia
Top achievements
Rank 1
 answered on 29 Jul 2017
1 answer
178 views

 

We are trying to contact Sitefinity to check status about the latest security vulnerability in Sitefinity due to cryptographic weakness [CVE-2017-9248].  As our version is older, we have to verify the steps we have taken is valid and is that enough for the security issue.

Our Sitefinity version is 3.7.2136

and what we did is, we prevented the access to Dialog Handler as suggested in http://www.telerik.com/support/kb/aspnet-ajax/details/cryptographic-weakness#prevent-access
 by removing the handler in the web.config file and also changed Machine keys.

Can you please let us know if that will be enough for now? Is there a way to measure this and make sure that security is improved?

Boyan Barnev
Telerik team
 answered on 21 Jul 2017
1 answer
85 views
We are a premium customer and expected at least 24hr responses, apparently that is not the case. Submitted a support ticket over 24hrs ago and still no response. Uggghh! Is this a trend?
Dimo
Telerik team
 answered on 20 Jul 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?