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

Hi I am goingnuts , please help me!  RadGauge needle value updates fine to specified value on local host but not when I have published the code? 

 

http://temperatur.gpslogik.se/1  is the published code.  (throws input error on the Chrome developer console, I dont understand) 

Here is part of my code!

 

      
                                <telerik:RadLabel ID="RadLabel6" runat="server" Text="Larmtillstånd" Font-Size="Small"  AutoPostBack="True" Font-Bold="True"></telerik:RadLabel><br/>
                                <telerik:RadLabel ID="RadLabel3" runat="server" Text="Normal" BackColor="#33CC33" Font-Bold="True" ForeColor="White" Width="300px" ></telerik:RadLabel>

                           <div class="demo-container size-thin">
                                        <telerik:RadRadialGauge runat="server" ID="RadRadialGauge1" Width="200px" Height="200px" Skin="Bootstrap">
                                            <Pointer Value="0">
                                                <Cap Size="0.1" />
                                            </Pointer>
                                            <Scale Min="0" Max="40" MajorUnit="10" >
                                                <Labels Format="{0} C°" />
                                                <Ranges>
                                                    <telerik:GaugeRange Color="#add8e6" From="0" To="5" />
                                                    <telerik:GaugeRange Color="Green" From="5" To="25" />
                                                    <telerik:GaugeRange Color="#ff0000" From="25" To="40" />                                     
                                                </Ranges>
                                            </Scale>
                                        </telerik:RadRadialGauge>
                               <p></p>
                               <telerik:RadHtmlChart ID="RainfallChart" runat="server" Layout="Sparkline" Width="300px" Height="60px" PlotArea-XAxis-Reversed="true">
                                            <PlotArea>
                                                <Series>
                                                    <telerik:AreaSeries DataFieldY="RainfallData">
                                                        <Appearance FillStyle-BackgroundColor="#00b37d"></Appearance>
                                                        <TooltipsAppearance Color="White" />
                                                    </telerik:AreaSeries>
                                                </Series>
                                            </PlotArea>
                                        </telerik:RadHtmlChart><br />
                               <telerik:RadLabel ID="RadLabel7" Text="Temperatur trend" runat="server"></telerik:RadLabel>                  
                                  <div class="demo-containers">
              

 

 OBJCONN.Close() : OBJCONN.Open()
        'Fyll dropdown med användare
        Dim Q As New SqlCommand("SELECT * FROM temperature_values where TempDescription='" & unit & "'", OBJCONN)
        Dim R As SqlDataReader = Q.ExecuteReader
        If R.HasRows = True Then
            Do While R.Read

                adress1 = R("TemperatureAdress")
                TidX = R("TempTimeStamp")
                lat = R("Temperature_latitude")
                lng = R("Temperature_longitude")
                groupname = R("Temperatur_groupName")
                TempDescription = R("TempDescription")
                value = R("TempValue")
            Loop
        End If
        OBJCONN.Close()
        RadLabel2.Text = "<strong>Kl: " & TidX & "<br>" & groupname & " / " & TempDescription & "<br> Temperatur är " & value & "°C</strong>" ', Senast kända adress " & adress1


        'Hämta aktuellt värde och tid för vald temperaturgivare

        RadRadialGauge1.Pointer.Value = value

        Timer1.Enabled = True
        RainfallChart.DataSource = GetData()
        RainfallChart.DataBind()

Rumen
Telerik team
 answered on 16 Mar 2018
0 answers
96 views

Hi,

I am Updating my table using a Vista on MSSQL.

Everything is fine on text fields except a ComboBox that is missing the ReBind. I have refresh the page using the Refresh button on my form.

 

How can I call the Refresh event onSave event?

 

Thx,

Valerio

Valerio
Top achievements
Rank 1
 asked on 16 Mar 2018
0 answers
119 views
Suppose I am using two RadTextBox control and I want to differentiate those two using css.

    <telerik:RadTextBox ID="rtb_1" runat="server"></telerik:RadTextBox>
    <telerik:RadTextBox ID="rtb_1" runat="server"></telerik:RadTextBox>

For example when I hover over , this gets generated..please find attached image..

Now, If I apply style here..

    .riHover {
                background: red !important; 
            }

This will get apply on every input controls of this page, but I want to apply it over first textbox control.

How can I achieve that??
Bb
Top achievements
Rank 1
 asked on 16 Mar 2018
4 answers
67 views
I'm using the editor to allow people to edit HTML that will be sent in an email.

When someone inserts an image it's using a relative path for the image so in the email the image is broken.

Is there a simple way to tell the editor to use a fully-qualified URL for images inserted into it?

Thanks,
Kevin
Rumen
Telerik team
 answered on 16 Mar 2018
4 answers
273 views

I successfully implemented a custom filter class which manipulates a drop down list of possible values

https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/Filtering/filter-with-ms-dropdownlist-instead-of-textbox-

one thing remains - what should the value be to clear the filter - and do I need to add code to the class selected index event handler?

the example clears the textbox for all selections - but can't I selectively clear a filter?

Chris
Top achievements
Rank 1
 answered on 15 Mar 2018
0 answers
135 views

     I have a radgrid where I am embedding an image and css controls in a GridButtonColumn:

 

<telerik:GridButtonColumn UniqueName="launchFileSnapshot" Visible="true" HeaderText="File Snapshot" ButtonType="ImageButton"
                                                            ImageUrl="..."
                                                            CommandName="launchFileSnapshot" ButtonCssClass="hi-icon">
                                                        </telerik:GridButtonColumn>           

 

The issue I come across is when you select to edit this row, the image does not retain the CSS style and the image enlarges to the full resolution of the original image. 

 

before edit      --      inEditMode

Is there any way to retain the CSS on the image button when the grid is in edit mode?

Stephen
Top achievements
Rank 1
 asked on 15 Mar 2018
0 answers
86 views

Hello,

I have a grid and one column of the grid holds two controls, ComboBox and a TextBox. The grid is in batch edit mode.

My goal, using server side ideally but not limited to, to hide one of the controls, according to some logic.

I've tried server side solution by hooking up an OnItemDataBound event handler, using the FindControl method of the GridDataItem control,but it resulted in null (any idea to why it may resulted in null?).

And I've tried to hookup to some client side events of the grid with no success.

What's the best approach to my problem?

Evgeny
Top achievements
Rank 1
 asked on 15 Mar 2018
8 answers
325 views

I have a multicolumn header in my grid. I want to show an underline/border across the top level header. if I add a text-decoration it just shows the underline across the text and a border blends into the other header. (Banks with BOLI vs Averages for Banks with BOLI)

Below is my grid css for the header and grid declaration. is there a way I can have an underline for the headers but that spans across the whole column?

css:

.RadGrid .rgHeader.colGroup {
       text-align: center !important;
       /*text-decoration: underline !important;*/
       border-bottom: 1px solid #fff !important;
   }   
 
   .RadGrid .rgMultiHeaderRow th.colGroup
   {
       /*border-spacing: 2px !important;
       border-collapse:  separate !important;*/
       margin: 20px !important;
   }

grid:

<ColumnGroups>
                    <telerik:GridColumnGroup Name="BanksWithBOLI" HeaderText="Banks With BOLI"
                        HeaderStyle-CssClass="colGroup"  />
                    <telerik:GridColumnGroup Name="BanksWithBOLIAverage" HeaderText="Averages for Banks with BOLI"
                        HeaderStyle-CssClass="colGroup" />
                    <telerik:GridColumnGroup Name="EmptyHeader" HeaderText=" " />
                </ColumnGroups>
               <Columns>
                    <telerik:GridBoundColumn DataField="AssetSize" HeaderText="Asset Size" SortExpression="AssetSize"
                        AllowFiltering="false" FooterText="Total" ColumnGroupName="EmptyHeader" HeaderStyle-HorizontalAlign="Left"  ItemStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Left" />
                    <telerik:GridBoundColumn DataField="BankCount" HeaderText="Total Banks" SortExpression="BankCount"
                        UniqueName="BankCount" HeaderStyle-Width="10%" Aggregate="Sum" FooterAggregateFormatString="{0}" ColumnGroupName="EmptyHeader" />
                    <telerik:GridBoundColumn DataField="BOLIBankCount" HeaderText="#" SortExpression="BOLIBankCount"
                        UniqueName="BOLIBankCount" HeaderStyle-Width="7%" Aggregate="Sum" ColumnGroupName="BanksWithBOLI" >
FooterAggregateFormatString="{0}" />
                    <telerik:GridBoundColumn DataField="BOLIPercentage" HeaderText="%" SortExpression="BOLIPercentage"
                        UniqueName="BOLIPercentage" HeaderStyle-Width="9%" DataFormatString="{0:p1}" ColumnGroupName="BanksWithBOLI" FooterAggregateFormatString="{0:p1}" />
                     
                    <telerik:GridBoundColumn DataField="Assets" HeaderText="Assets<br />(000s)" SortExpression="Assets"
                        UniqueName="Assets" DataFormatString="{0:$#,##0;($#,##0)}" HeaderStyle-Width="11%" ColumnGroupName="BanksWithBOLIAverage" />
                    <telerik:GridBoundColumn DataField="Capital" HeaderText="Tier 1<br /> Capital<br />(000s)" SortExpression="Capital"
                        UniqueName="Capital" DataFormatString="{0:$#,##0;($#,##0)}" HeaderStyle-Width="11%" ColumnGroupName="BanksWithBOLIAverage" />
                    <telerik:GridBoundColumn DataField="BOLICSV" HeaderText="BOLI CSV<br />(000s)" SortExpression="BOLICSV"
                        UniqueName="BOLICSV" DataFormatString="{0:$#,##0;($#,##0)}" HeaderStyle-Width="11%" ColumnGroupName="BanksWithBOLIAverage" />
                    <telerik:GridBoundColumn DataField="BOLIToCapitalPercentage" HeaderText="% BOLI <br />to<br />Capital" SortExpression="BOLIToCapitalPercentage"
                        UniqueName="BOLIToCapitalPercentage" DataFormatString="{0:0.#%}" HeaderStyle-Width="9%" ColumnGroupName="BanksWithBOLIAverage" />
                    <telerik:GridBoundColumn DataField="BOLIToAssetsPercentage" HeaderText="% BOLI <br />to<br />Assets" SortExpression="BOLIToAssetsPercentage"
                        UniqueName="BOLIToAssetsPercentage" DataFormatString="{0:0.#%}" HeaderStyle-Width="9%" ColumnGroupName="BanksWithBOLIAverage" />
                </Columns
Eyup
Telerik team
 answered on 15 Mar 2018
6 answers
396 views
Dear telerik-Team

I try to add ScatterSeriesItem programaticlly but I can't find a constructor or a method to add an item with date-time values.
The only option is by decimal? x and decimal? y. Where is the constructor for datetime? x and decimal? y?

How can I add those ScatterSeriesItem with date-time values without using a data source.

Kind regards,
Chrisitan
Ryan
Top achievements
Rank 1
 answered on 14 Mar 2018
16 answers
474 views

Hi,

We are actually an existing customer of Telerik. We had  bought ASP.NET Ajax control from you.

Now we are out of the support period, yet we are using your controls to good effect.

We are facing with the occurrence of unwanted spaces in the mails sent to outlook. This happens when we paste HTML content from MSWord to  RAD Editor control with spell check enabled. The content looks normal in the editor but when we send the mail after spell check, the content got delivered successfully to Outlook but the format becomes weird as compared to the original content. Below is the sample html which got added with unwanted space once it got sent from RAD Editor.

We want to know if there is any work  around to sort this out so that the email looks the same as how the content pasted into RAD Editor?

We are having an email application using the RAD Editor control and since we are facing with lots of inconvenience. we appreciate your help from your end. Could you please look into our issue and help us?

Many Thanks,

Prabhu.

ORIGINAL HTML CONTENT

What's going on in 2013?


Many customers have been installing Visual Studio Updates from the “toast” pop-up notification or from the Extensions and Updates dialog. This continues to be the simplest option. The installer downloads only the components you need (based on your current VS installed configuration), and then installs the bits as they’re received. This approach often provides a very good experience, but it does require being connected to the internet for the duration of the install. Because a connection isn’t always available, the installer also supports a /layout flag, which downloads all of the bits proactively to enable subsequent offline installation.


Getting involved now 

 

We also plan to ship ISO images for the RTM version of future Visual Studio updates, in addition to the existing distribution mechanism we already provide. We hope you will enjoy this additional option for downloading Visual Studio Updates.

Kathryn
Telerik team
 answered on 14 Mar 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?