Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
165 views
Hi All

I am currently using the method below to poulate a combobox on the page load event:

Dim dataAdapter as new SetTableAdapter.someidentityTableAdapter
Dim adapterTable as DataTable
  
adapterTable = dataAdapter.getData()
  
Radcombo1.DataValueField = "Value1"
Radcombo1.DataTextField = "Value2"
Radcombo1.DataSource = adapterTable
Radcombo1.DataBind()

I would like to add a custom attribute to this combo box,
I am able to achive this in a load on demand senario but not the senario above!
Would someone be kind enough to point me in the right direction on how to achive this please?

Also when using custom attributes in this way is it still only possible to get the attributes value client side?

Many Thanks

Regards

Darren
Kate
Telerik team
 answered on 25 Mar 2011
1 answer
82 views
Hi,

Previously, I've Q3 2010 installed on my machine. Everything worked well.
Now I am about to install Q1 2011 but failed with the following error message:

There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

I am attaching 2 files:
- error screen shot
- log file screen shot

Here's my environment:
- Windows 7 x64
- VS 2010 with .NET 4

Please advise.
Biliana Ficheva
Telerik team
 answered on 25 Mar 2011
1 answer
152 views
I have a FileExplorer on a page with a very short logout period.

The problem is, when people are logged out, they are still able to click around the FileExplorers folders so long as they have visited the folders recently (the internal caching of the FileExplorer doesn't make another trip to the server).

Is it possible to have the FileExplorer not cache it's lists of flies, and ask the server when a folder is selected for the current list of files in that folder?
Dobromir
Telerik team
 answered on 25 Mar 2011
2 answers
85 views
Hello,

I've try to change the HeaderText property into hierarchical datagrid (DetailTable) but I can't change it.

This is my code:

        protected void RG1_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)
        {
            switch (e.DetailTableView.Name)
            {
                case "DeviceID":


                    break;


                default:
                    break;
            }
        }

Do you have others solutions?
mbro87
Top achievements
Rank 1
 answered on 25 Mar 2011
1 answer
182 views
Hello,
i am using  "RadControls_for_ASP.NET_AJAX_2008_2_826_dev". Suddenly few days before i faced a problem with the telerik skin. Skin doesn't show in run time and also functionality doesn't work in run time. i uninstalled it and again installed it but the problem is still there. When i browse the ASP.net page in Visual Studio 2008 by internal browser then a error message prompt (attached file - ajax_error.jpg).i attach another image for radcalender with the skin problem.. any body help me please
Jayesh Goyani
Top achievements
Rank 2
 answered on 25 Mar 2011
1 answer
77 views
Hi there,

It looks like the standard RadButton is not clickable on blackberry browser.  Are you guys going supporting blackberry browser at all and if not, do you know a work around?

Thanks.
Pero
Telerik team
 answered on 25 Mar 2011
1 answer
71 views

A property named 'TextBox2' was not found on the entity during an insert, update, or delete operation. Check to ensure that properties specified as binding expressions are available to the data source.

I have a pop-up edit form that I use to edit data.  I am able to pull up the form and after I make changes to a text box item in the form, this is message I receive when I click the forms update button.

It seems that I must expose these textboxes to the Data Source that I created, but I am not sure how to do it, or even if this is the action that the data sources is asking me to do.

Any ideas, or information would be very helpful.  Been reading the forums and viewing demos, but did not find a post or demo that explained how to do this.

Thanks!

Jayesh Goyani
Top achievements
Rank 2
 answered on 25 Mar 2011
3 answers
309 views
I am trying to close the edit form of this RadGrid:

 

<telerik:RadGrid ID="rgAccountRangeSet" runat="server" 
            AutoGenerateColumns="False" GridLines="None" AllowAutomaticDeletes="True" 
            AllowAutomaticInserts="True" AllowAutomaticUpdates="True"
            PageSize="25" AllowPaging="True" AllowSorting="True" >
            <PagerStyle Mode="NumericPages" />
            <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top" CommandItemSettings-ShowRefreshButton="False" 
                HorizontalAlign="NotSet" DataKeyNames="Id">
                <CommandItemSettings AddNewRecordText="Add New Account Range" AddNewRecordImageUrl="~/images/Keymaster/add.gif"/>
                <NoRecordsTemplate>
                    <center><b>No records available</b></center>
                </NoRecordsTemplate>
                <Columns>
                </Columns>  
                <EditFormSettings>
                    <EditColumn ButtonType="PushButton" />                    
                </EditFormSettings>
            </MasterTableView>
        </telerik:RadGrid>

 

 

 


With the following code:

 

Private Sub rgAccountRangeSet_InsertCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgAccountRangeSet.InsertCommand
       'code to handle insert items has been removed
        rgAccountRangeSet.Rebind()
        rgAccountRangeSet.MasterTableView.IsItemInserted = False
End Sub

However, I am getting an exception.  When I remove "IsItemInserted = False" assignment, the exception goes away.  I also want to mention that I am opening the page in certain scenarios with "IsItemInserted = True" with no problem.  The grid opens fine and displays the edit form.  Any ideas?

Thanks in advance!!

Jayesh Goyani
Top achievements
Rank 2
 answered on 25 Mar 2011
1 answer
54 views
I've got an ASP.NET Master/Content page combination with a grid pointing to an EntityDataSource. (I'm using my simplest Entity, which just has a RoleId (PK) and Name.) The Entity set is currently empty, and when I use the "Add new record" button to add a record, I get the form showing up correctly. When I click "Insert" after assigning the RoleId and Name, the dialog goes away, but the item isn't added to my collection.

I've got all the "automatic" flags set for editing, inserting, and deleting in both the EntityDataSource and the Grid. What else do I need to set up to have the values saved to the entity collection?

Jayesh Goyani
Top achievements
Rank 2
 answered on 25 Mar 2011
2 answers
97 views
I have one RadGrid with PageSize="5" and i populate with a dataset:
Public Sub LlenaGrid()
      Strsql = "Select Empresa,Corr,NomPuesto,Salario from templeo where codusuario = " & Session("CodUsuario") & ""
      cn.Open()
      daData.SelectCommand = New OleDb.OleDbCommand(Strsql, cn)
      daData.Fill(dsGen, "DATA")
      GrdEmpleo.DataSource = dsGen
      GrdEmpleo.DataMember = "DATA"
      GrdEmpleo.DataBind()
      cn.Close()
 
      dsGen.Tables("DATA").Clear()
  End Sub

and the Grid work but when i move to the page No 2 or i click next page the Grid don´t show me any result, this is the html of the grid: 
<telerik:RadGrid runat="server" ID="GrdEmpleo" PageSize="5" AutoGenerateColumns="False"
                    Width="100%" AllowSorting ="True" AllowPaging ="True" GridLines="None" TabIndex="17">
                <PagerStyle Mode="NextPrevAndNumeric" NextPageText="Siguiente" PrevPageText="Anterior"
                 PagerTextFormat="Change page: {4} &nbsp;Pagina <strong>{0}</strong> de <strong>{1}</strong>, registros <strong>{2}</strong> a <strong>{3}</strong> de <strong>{5}</strong>."
                 PageSizeLabelText="Regitros"/>
                <MasterTableView DataKeyNames="Empresa,Corr,NomPuesto,Salario">
                    <Columns>
                        <telerik:GridButtonColumn DataTextField="Empresa" UniqueName="Empresa" HeaderText="Empresa"></telerik:GridButtonColumn>
                        <telerik:GridBoundColumn DataField="Corr" UniqueName="Corr" Visible="false" HeaderStyle-Width="75px"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Nompuesto" UniqueName="NomPuesto" HeaderText="Puesto"  HeaderStyle-Width="75px"></telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Salario" HeaderText="Salario" HeaderStyle-Width="75px">
                        </telerik:GridBoundColumn>
                    </Columns>
                </MasterTableView>
                <clientsettings>
                    <selecting allowrowselect="True" />
                </clientsettings>
                <FilterMenu EnableTheming="true">
                    <CollapseAnimation Duration="200" Type="InOutQuint" />
                </FilterMenu>
             </telerik:RadGrid>

and here is the event PageIndexChanged:
Private Sub GrdEmpleo_PageIndexChanged(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridPageChangedEventArgs) Handles GrdEmpleo.PageIndexChanged
        Try
            LlenaGrid()
        Catch ex As Exception
            LblMensaje.Text = ex.Message
        End Try
 
    End Sub

I don´t know whats happend whit this grid, i need some helps
thank you in advance

Hector Hernandez
Top achievements
Rank 2
 answered on 25 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?