Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
108 views

After upgrading Telerik to the latest version, it appears that RadWindows with a Lightweight render mode do not render at dimensions specified in the <telerik:RadWindow> tag. While I was using a custom skin when I started testing, I ultimately removed all skins from the window (that is, I set "EnableEmbeddedSkins" to false and then did not specify a skin) in an attempt to narrow down the problem.

With no skin at all, a RadWindow with attributes of "Width='338px' and Height='309px'" rendered with the correct height, but was 368 pixels wide. Incidentally, the inline style applied to the RadWindowWrapper in the output HTML markup was 352 pixels, which rules out a CSS issue because this value is also wrong.

Next, I tried removing the dimension attributes, meaning that the window should have rendered with the default dimensions of 300 pixels by 300 pixels. Instead, it rendered at 330 x 300 pixels, with an inline height of 314 pixels. So the dimensions are, at least, consistently wrong.

Why is this happening, and what can I do to get a RadWindow to render at the dimensions set in its attributes?

On a related note: the aforementioned custom skin I was using when I started test has a "padding:0;" applied to the RadWindow, because I do not want the window to have any borders. With that styling applied, the height of the RadWindow also does not match the height set in the RadWindow's attribute. I assume these problems are related.

Danail Vasilev
Telerik team
 answered on 07 Apr 2016
8 answers
510 views
When exporting a radGrid to excel, is there a way to pro grammatically freeze the first row of the excel document, just like as if I press the freeze pane option in excel?

Thanks.
Daniel
Telerik team
 answered on 07 Apr 2016
2 answers
191 views

 

In my grid (set to batch by cell) whenever I call openCellForEdit(myCell) in javascript, it always opens the given cell in edit mode, which is great. But on occasion, it doesn't put the focus on the item within the cell's GridTemplateColumn, if that item has a value. For instance, blank fields always get the focus, but if it has 0.0000 inside a RadNumericTextBox, at times it doesn't give that control the focus. And with the focus gone, the user can no longer navigate with tab and arrow keys until they click somewhere else.

Why is that and how can I make it always work?

Due to the complexity of my page, it's not very practical to post, so I'm hoping this is a general issue you can help me with.

Jeremy Yoder
Top achievements
Rank 1
 answered on 06 Apr 2016
2 answers
171 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
584 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
462 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
120 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
537 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
204 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
341 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?