Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views

<DetailTables>
                                                    <telerik:GridTableView  width="100%" runat="server" AutoGenerateColumns="false">
                                                        <ParentTableRelation>
                                                            <telerik:GridRelationFields ></telerik:GridRelationFields>

                                                        </ParentTableRelation>
                                                        <Columns>

.......</DetailTables>

 Hi when i try scrolling horizontally  both the parent and child grid columns scroll but i have more columns in child than in parent so scrolling ends with the parent and i still have child columns which are invisible

Pavlina
Telerik team
 answered on 29 Jun 2015
1 answer
92 views

I downloaded the Q2 2015 version of Telerik asp.net controls and my question:

Is fill gradient enabled on RadDiagram control? 

I assume this feature is enabled because I see the next sample on Kendo Diagram and gradient is enabled:

http://demos.telerik.com/kendo-ui/diagram/index​

Please tell me If gradient is enabled on RadDiagram asp.net control.

Thanks 

Slav
Telerik team
 answered on 29 Jun 2015
2 answers
201 views

I am trying to access div tags within DataGroupTemplate from ItemDataBound but nothing is coming up for me. Not sure what i'm missing or might I be taking the wrong approach here?

 

<DataGroups>
    <telerik:ListViewDataGroup GroupField="Level" DataGroupPlaceholderID="DataGroupPlaceHolder1">
 
        <DataGroupTemplate>
            <div id="Div1" runat="server">
                <div id="Div2" runat="server">
                    <span class="GroupText"><%# CType(Container, RadListViewDataGroupItem).DataGroupKey%></span>
                </div>
                <asp:PlaceHolder runat="server" ID="DataGroupPlaceHolder2"></asp:PlaceHolder>
            </div>
        </DataGroupTemplate>
 
    </telerik:ListViewDataGroup>
</DataGroups>
 
 
Protected Sub RadListView1_ItemDataBound(sender As Object, e As RadListViewItemEventArgs) Handles RadListView1.ItemDataBound
 
    If e.Item.ItemType = RadListViewItemType.DataItem Then
        Dim dataitem As RadListViewDataItem = CType(e.Item, RadListViewDataItem)  
        If dataitem IsNot Nothing Then
            Dim grpdiv As HtmlGenericControl = TryCast(e.Item.FindControl("Div1"), HtmlGenericControl)
            If grpdiv IsNot Nothing Then
                'Do something
            End If
        End If 
    End If
 
End Sub

 

 

Bubacarr
Top achievements
Rank 1
 answered on 29 Jun 2015
8 answers
720 views

Hi all,

I m trying to make an multi file upload by using RadAsyncUpload.
Project is working well on local but when i publish it, control does not include any uploaded file, so it does not enter the for loop and a exclamation mark  appaers.

<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" TargetFolder="~\AttachPath"
                        TemporaryFolder="~\App_Data\RadUploadTemp" AllowedFileExtensions="jpg,jpeg,png,gif">
                        </telerik:RadAsyncUpload>

 protected void lnkara_Click(object sender, EventArgs e)
        {
            PopulateUploadedFilesList();

            ConfigDataContext data = new ConfigDataContext();
            if (!string.IsNullOrEmpty(dropfleet.SelectedValue))
            {
                for (int i = 0; i < RadAsyncUpload1.UploadedFiles.Count; i++)
                {
                    CNF_FILE_PATH newfile = new CNF_FILE_PATH();
                    string path = ConfigurationManager.AppSettings["filePatch"] ;
                    newfile.FILE_PATH = path + RadAsyncUpload1.UploadedFiles[i].FileName;
                    newfile.REGISTRATION = dropfleetlist.SelectedItem.Text;
                    newfile.FLEET_ID = dropfleet.SelectedValue.ToInt();
                    data.CNF_FILE_PATHs.InsertOnSubmit(newfile);
                    data.SubmitChanges();
                    sucsessful.Visible = true;
                }
              
            }
        }

Hristo Valyavicharski
Telerik team
 answered on 29 Jun 2015
3 answers
185 views

I have been trying to get the "RadProgressArea" control to work reliably.  I have a process that allows the end user to build a list of reports to process, set a ton of options, then press a magic "go" button and generate all the requested documents.  Everything actually works with the exception of the progress display.

 The progress display currently is a "RadProgressArea" control configured along the lines documented elsewhere in the demo's covering "Custom Progress" configurations.  I have a RadProgressManager and RadProgressArea controls on a standard master/client page website.  The event process is fired off via a toolbar button being clicked in the header template of a RadGrid.  The site is your standard C# 4.5 framework type website built using the Telerik suite of products including the Telerik Reports.  Based upon my research I have a properly configured web.config file.  My trust levels are set to Full so it is not a question of Reflection not being available.

 My problem boils down to the process works some of the time.  That is to say the Progress Area pops up and displays the data without error.  The user is able to press the cancel button and everything works.  Notice I said some of the time?  Using the same hardware/software/selected options, the same process will not display the RadProgressArea control the next time (of course it isn't a every other time problem).  This doesn't mean the process doesn't work, simply that the user display doesn't show the progress of the update and no option of canceling is given.   In my particular case all the required reports get built so the end result is a happy user however they want their cancel button.

 

I have even gone so far as to forcibly show the progress area via client side code.  While this does work, when it "fails", the shown progress area mysteriously "goes away" or is ghosted preventing user interaction with it.  When it works it works irrespective to being forcibly shown.

 Does anyone have any suggestions on paths to explore to solve my problems?  Have I somehow reached a technical limit that I did not know of?  Should I be looking toward some kind of Asynchronous web service of such?  My goal is simply o give my users a progress display and the ability to cancel the task (subject to browser compatibility of course) in a reliable manner.

 

Hristo Valyavicharski
Telerik team
 answered on 29 Jun 2015
3 answers
275 views
All,

I have multiple web pages that each contain 36 radNumericTextboxes on them.

I want to disable the tab stop on the spin buttons for each of the controls. So far the only answer I can find is this:

myControl.ButtonDownContainer.Attributes.Add("tabindex", "-1")
myControl.ButtonUpContainer.Attributes.Add("tabindex", "-1")

I don't want to have 72 lines of code on each of my 19 pages to do something that I should be able to do in a for each loop. However, I cant seem to implement the following code because the telerik controls dont exist in system.web.ui.page

For Each myControl In Page.Controls
            If TypeOf myControl Is RadNumericTextBox Then
                myControl.ButtonDownContainer.Attributes.Add("tabindex", "-1")
                myControl.ButtonUpContainer.Attributes.Add("tabindex", "-1")
            End If
Next

So my question is, how can I return an array of all telerik controls contained on a page?

Thank you,
Erik
Top achievements
Rank 2
 answered on 29 Jun 2015
1 answer
116 views

Hi

I use the RadPersistenceManagerProxy because I use MasterPages. All works fine!

Because I need to persist the RadDateTimePicker, which is not supported, I want to save it manually with the OnSaveCustomSettings function. How can I use this approach in child page will mean with the RadPersistenceManagerProxy?

Regards

Felix

Kostadin
Telerik team
 answered on 29 Jun 2015
12 answers
165 views
I have a combobox that gets a default item set whenever the data for the combobox control is null. For example a combobox with a list of states for the user to select from. If no valid data exists, the user is presented a default item that says "Select State". If valid data exists, the default item is not set and the data value is set to the combobox.

Our combobox is set to autopostback and update a radlistbox of available items to select from. However, if "Select State" is visible in the combobox and the user selects a state, the SelectedIndexChanged event is not fired and as a result, the radlistbox is not filled with the data. However, if the combobox is changed again to a different state, then the event fires. If valid data is the selected item in the combobox and there is no default item, then the event is fired.

Understanding that the DefaultItem isn't part of the indexed items in the combobox, I can *sort of* understand why the event isn't firing, however, that doesn't resolve the issue that I need to postback whenever the user selects a valid item from the combobox.

How can I get a postback whnenver an item is selected in a combobox (not the default item) when the value being changed from is the default item?
Ivan Danchev
Telerik team
 answered on 29 Jun 2015
1 answer
129 views

Hi,

I was adding my style sheet in the client code of my page and my radscheduler looked fine. Then I decided to use RadStyleSheetManager to add my style sheet from the code behind and the radscheduler  in my page lost all of its default styles... Do I need to load them too in addition to my style sheet and in that case how do I do that?

Peter Filipov
Telerik team
 answered on 29 Jun 2015
4 answers
154 views

Hi,

I'm using RadTileList and creating the tiles dynamically based on user inputs. If user clicks on add, we will capture the data and create a tile and will Render in the UI. User can delete a tile, create a new tile with some inputs. We require Drag and Drop functionality and need to store the position of each tile. I'm using the below method to capture the position. ProjectAssetsTileList.GetAllTiles() is giving always "0" on page load. Please suggest a way to persist the TileList Tiles and Order.

 

protected List<DomainDAL.ProjectAsset> CaptureAssetPosition(List<DomainDAL.ProjectAsset> workingProjectAssets)
   {
       if (ProjectAssetsTileList.GetAllTiles().Count > 0)
       {
           foreach (DomainDAL.ProjectAsset asset in workingProjectAssets.Where(x => x.State != (int)Constants.AssetStatus.Deleted))
           {
 
               int position = ProjectAssetsTileList.GetAllTiles().FindIndex(x => x.Name == asset.AssetId.ToString());
               asset.SequenceNumber = position;
           }
       }
       List<DomainDAL.ProjectAsset> sorted = workingProjectAssets.OrderBy(x => x.SequenceNumber).ToList();
       return sorted;
   }

 

 

Marin Bratanov
Telerik team
 answered on 29 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?