Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
139 views

Opening control panel I get a window that says:

Old Telerik Control Panel Version - Hmmm. It seems this installer is a bit old. Please download the newest shiny version from here.

"Here" is https://www.telerik.com/account?utm_source=tcp where it just sits there with little animation trying to open or download. I am using Google Chrome I have waited 2 hours so far, and will leave longer to see it anything ever happens. Tried a couple days ago with the same result for an hour.

The good news, I won't have to renew and pay for Telerik anymore since I can't update it anymore with my historic couple-month-old Control Panel.  What is with Control Panel updating every time you use it anyway?

George
Top achievements
Rank 2
 answered on 06 Apr 2016
1 answer
534 views

Hi,

I have quite a few RadLinkButtons on my website and now I need to develop some server side codeing when the RadLinkButton is clicked.

I cannot find any OnClick event for RadLinkButton. I do see a OnClientClicked event but no such event for server side.

Can anyone help me through this?

 

Thanks,

Payal.

Ianko
Telerik team
 answered on 06 Apr 2016
8 answers
416 views

Is there a way to automatically upload , both on drag'n'drop and Select file...so users don't have to hit a button and force a post back?

We do have code behind that processes the files and updates the DB that needs to run

 

thanks

 

Lou
Top achievements
Rank 1
 answered on 06 Apr 2016
1 answer
86 views
Is it possible to have pagination in FileExplorer's Grid with custom provider (for example: clicking on the page number will request exactly 20 items - if the page is defined as 20 items, and with skip based on the page location)?
Vessy
Telerik team
 answered on 06 Apr 2016
1 answer
487 views

I have web-based application in ASP.net with VB.net as the code-behind.

I am designing a new page that will have the RadGrid.

In that Grid, I need help on how to highlight the cell with a specific color and/or change the color of the text in the cell depending on the value in that cell.

Attached is a screenshot of an example of what I am looking to do.

In the attached example:

if the cell value = GE3WK in OVL Status column then highlight it GREEN

if the cell value = NOMIN in OVL Status column then highlight it WHITE with the Text changed to a light Blue

etc.

Also need a similiar thing for OVL DOH column where if value is greater than 20.0 then highlight it in Light Cyan else keep it with white background and black text.

Please help with this.  Thanks!

Sincerely,

Keith Jackson

Roberto
Top achievements
Rank 1
 answered on 06 Apr 2016
5 answers
162 views

I'm experiencing an odd formatting issue when using the RadAjaxManager to make a TabContainer visible. Once the TabContainer is visible, the content of the first tab (which is the one specified by the ActiveTabIndex) appears above the content for the second tab. Additionally, the second tab is selected rather than the first one (which, again, is the one specified by the ActiveTabIndex). I've included a screenshot of what this looks like, along with the code below. If I click on the first tab, and then go back to the second tab, everything is displayed correctly and I can move between tabs without any further issues. If I replace the RadAjaxManager with a regular UpdatePanel then the tabs are rendered correctly. Any assistance you can provide will be helpful - thanks!

 

<telerik:RadAjaxManager ID="ram" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btn">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="tc" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<asp:Button ID="btn" runat="server" Text="Press Me" OnClick="btn_Click" />
<ajax:TabContainer ID="tc" runat="server" ActiveTabIndex="0" Visible="false">
    <ajax:TabPanel ID="tp1" runat="server" HeaderText="Tab 1">
        <ContentTemplate>
            Tab 1 Content
        </ContentTemplate>
    </ajax:TabPanel>
    <ajax:TabPanel ID="tp2" runat="server" HeaderText="Tab 2">
        <ContentTemplate>
            Tab 2 Content
        </ContentTemplate>
    </ajax:TabPanel>
</ajax:TabContainer>

protected void btn_Click(object sender, EventArgs e)
{
    tc.Visible = true;
}
Maria Ilieva
Telerik team
 answered on 06 Apr 2016
9 answers
288 views
Hello
I can create this RadTreeList with a parent and child key from a table.
However I have the following structure --
Table 1
-----------
ParentId_1    SomeData
1                       <abc>
2                       <abc>

Table 2
-----------------
ParentId_2     ParentId_1       Child_Id
Null                  1                      2147
2147                 1                      2176
2176                  1                     2179
2176                   1                    2180
Null                      2                    5283
5283                     2                    20131 etc.

I need a result that looks like --
> 1
         > 2147   
                        > 2176
                                          >2179
                                           >2180
>2
                > 5283
                            >20131

What I am getting is this--
> 1
         > 2147   
                        > 2176
                                          >2179
                                           >2180
                > 5283
                            >20131
> 2
         > 2147   
                        > 2176
                                          >2179
                                           >2180
                > 5283
                            >20131

Is it possible to get the result that I want with data separated in two tables?
If not, can you suggest an alternative?

Thanks
Raka
Kostadin
Telerik team
 answered on 06 Apr 2016
2 answers
106 views

Hello guys,

My problem is kind complicated, i'm trying to pass a DataSource to an RadComboBox (List<> provided by wcf service)

my problem is, i'm using the automated Insert button from the radgrid and it pop's up the Add new window

Follow the front end code 

<telerik:RadGrid ID="RadGrid1" runat="server" OnItemDataBound="RadGrid1_ItemDataBound" OnNeedDataSource="RadGrid1_NeedDataSource" OnInsertCommand="RadGrid1_InsertCommand" OnUpdateCommand="RadGrid1_UpdateCommand" ExportSettings-Word-Format="Docx"    AllowAutomaticDeletes="true"   OnDeleteCommand="RadGrid1_DeleteCommand" GroupPanelPosition="Top" AutoGenerateDeleteColumn="True" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" ShowFooter="True" ShowGroupPanel="True" ShowStatusBar="True" Height="543px" ClientSettings-Scrolling-AllowScroll="true" AutoGenerateColumns="False" AutoGenerateEditColumn="True"
                        >
                        <GroupingSettings CollapseAllTooltip="Collapse all groups" />
                        <ExportSettings>
                            <Word Format="Docx" />
                        </ExportSettings>
                        <ClientSettings>
                            <Scrolling AllowScroll="True" />
                            <Selecting  AllowRowSelect="true" EnableDragToSelectRows="true" />
                        </ClientSettings>
                        <MasterTableView AutoGenerateColumns="false" DataKeyNames="ID"  CommandItemDisplay="top"  EditMode="PopUp"  >
                            <Columns>
                                <telerik:GridBoundColumn DataField="ProductID" DataType="System.Int32" FilterControlAltText="Filter ProductID column" HeaderText="ProductID" SortExpression="ProductID" UniqueName="ProductID">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" FilterControlAltText="Filter ID column" HeaderText="ID" SortExpression="ID" UniqueName="ID" ReadOnly="True">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Quantity" DataType="System.Int32" FilterControlAltText="Filter Quantity column" HeaderText="Quantity" SortExpression="Quantity" UniqueName="Quantity">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="EditDate" DataType="System.DateTime" FilterControlAltText="Filter EditDate column" HeaderText="EditDate" SortExpression="EditDate" UniqueName="EditDate">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="ProductName" FilterControlAltText="Filter Product column" HeaderText="Product" SortExpression="ProductName" UniqueName="ProductName">
                                </telerik:GridBoundColumn>
                            </Columns>
                            <EditFormSettings EditFormType="Template" >
                                <FormTemplate>
                                    Product:
                                    <telerik:RadComboBox
                                         ID="ddProductStock"  Runat="server"   AllowCustomText="True"  DataTextField="Product" DataValueField="ID" Filter="Contains" MarkFirstMatch="True" SelectedValue='<%# Bind("ProductID") %>'  >
                                    </telerik:RadComboBox>
 
                                  
 
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddProductStock" ErrorMessage="*Product cannot be empty!" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator>
 
                                    <br />
                                    Quantity:
                                    <telerik:RadNumericTextBox ID="txtQuantityAdd" Runat="server" LabelWidth="64px" Resize="None" Text='<%# Bind("Quantity", "{0:N}") %>' Width="160px" EmptyMessage="Type The Quantity" MinValue="0" MaxValue="99999999">
                                        <NumberFormat GroupSeparator="" DecimalDigits="0" ></NumberFormat>
                                    </telerik:RadNumericTextBox>
                                      
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtQuantityAdd" ErrorMessage="*Quantity cannot be empty!!" Font-Bold="True" ForeColor="Red"></asp:RequiredFieldValidator>
                                      
                                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:FinancialConnectionString %>" SelectCommand="SELECT [ID], [Product], [Description] FROM [AssetsProd]"></asp:SqlDataSource>
                                    <telerik:RadButton ID="btnUpdate" runat="server"  CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' >
                                        <Icon PrimaryIconCssClass="rbAdd" />
                                    </telerik:RadButton>
                                       
                                    <telerik:RadButton ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel">
                                        <Icon PrimaryIconCssClass="rbCancel" />
                                    </telerik:RadButton>
 
                                </FormTemplate>
                            </EditFormSettings>
                            <CommandItemSettings AddNewRecordText="Add Stock" AddNewRecordImageUrl="Resources/add-text-file.png"  ShowExportToWordButton="true"  ExportToCsvImageUrl="Resources/excel-fil.png" ExportToPdfImageUrl="Resources/pdf-file-format-symbol.png" ExportToWordImageUrl="Resources/docx-file-variant.png" ShowExportToCsvButton="true" ShowExportToPdfButton="true"/>
                        </MasterTableView>
 
                        <FilterItemStyle BackColor="#00CC66" />
                    </telerik:RadGrid>

this is an old code witch i;m updating to work on an API witch dont allow direct SQL connection, it must be provided by web service (the List<>)

But, i need to provide this DataSource to this RadComboBox when the Add new button is pressed to load the list of registered products.

I'm not able to do this right know

i already did to the radgrid1,  

protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
     {
        
 
         List<ServiceReference2.Stock> NewStock = new List<ServiceReference2.Stock>();
         NewStock = objServiceClientObjClient.SelectStock().ToList();
         RadGrid1.DataSource = NewStock;
 
   
       }

i tried so many things that i found here, but no one was far close to my problem.

 

thank you 

 

 

 

Murylo
Top achievements
Rank 1
 answered on 06 Apr 2016
1 answer
90 views
Hi,

Is there any way to put "date time" control in filters.

For example, I have a dimension called  "Sale Date", Having date and time.

I wants to display the records between specific date range.

Is there any possibility to do this?
Maria Ilieva
Telerik team
 answered on 06 Apr 2016
1 answer
59 views

Can I validate a toolip using Telerik Test Studio?

I need to validate the following:
A tooptip appears on screen when I hover mouse to a textbox, button, header, label, combo, etc. in the WebPage.
The tooltip meets specific styling-format conditions.
The tooltip displays for a specified amount of time.

Can Telerik Test Studio do this?

Joana
Telerik team
 answered on 06 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?