Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
126 views
I am trying to attach a client handler to the button click event via the property OnClientClick, but it's not working. Am I missing something here?
Slav
Telerik team
 answered on 16 Dec 2011
2 answers
736 views
Hi,

Must be a tiresome topic, since there are lots of post about this, but still i didnt manage to make it work.
i run IIS 7.5 under Windows Server 2008 R2. and i simply want to show some charts on a simple website.
instead of a chart i always can see the message:
 "The Chart http handler is not registered. Please, manually add the following line to your Web.config httpHandlers section:
<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2010.3.1317.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />"


i read here about how i should register the handler:
http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html
i also read here:
http://www.telerik.com/help/aspnet-ajax/introduction-registering-the-httphandlers-on-windows-vista-iis-7-integrated-mode.html

i tried to use the classic mode (pipline) instead of integrated, but then i get either an Error 500 or 404.

the library "Telerik.Web.UI.dll" is in the bin folder of the web application.

if you wanna make me really happy, please tell me what i have to write into my Web.Config.

my current Web.Config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <connectionStrings>
    <-- some connection strings -->
  </connectionStrings>
  <appSettings>
    <-- some settings -->
  </appSettings>
  <system.web>
    <compilation debug="false" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>
    </compilation>
    <customErrors mode="Off" defaultRedirect="Error.aspx">
      <error statusCode="404" redirect="/NotFound.aspx" />
    </customErrors>
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
    <handlers>
        <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
        <add name="ChartImage.axd" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" />
    </handlers>
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
  <system.web.extensions>
    <scripting>
      <webServices>
        <jsonSerialization maxJsonLength="999999999" />
      </webServices>
    </scripting>
  </system.web.extensions>
</configuration>

Yves
Top achievements
Rank 1
 answered on 16 Dec 2011
6 answers
345 views
Hello,

Recently i am working with radcalendar control ,it works well but our requirement is to change the css  of radcalendar like the image i have attached below ,is it possible to do like that ,how to do that ,please respond if u have any idea about it.
Saimadhukar
Top achievements
Rank 1
 answered on 16 Dec 2011
1 answer
61 views
Hi, is there a way to specify which data should be shown in which series?
For example, I have a table that has

Priority    Date        Mins
High        7/11/11        390
High        8/11/11        383
Critical    8/11/11     60
Medium    8/11/11    183
High        9/11/11    105
Critical    9/11/11    15

I have set up 3 series, for Critical, High and Medium (in this order)

Is there a way that I can say any record that shows Priority = Critical to show in Series 1, Priority = High to show in Series 2 and so on?

Currently as the first data is for "high", it shows in the first series which is for critical.

Peshito
Telerik team
 answered on 16 Dec 2011
2 answers
62 views
Hi,

My company ended up getting the license for the full version of Telerik, and ever since the switch, I noticed that the input part of the RadUpload control does not display right in IE 7. More specifically, the input is there, but the borders are not. This works fine in Chrome and Firefox.

You will find a screenshot of this attached.

Here's the definition of the control:

<telerik:RadUpload ID="FileUploadControl" runat="server" MaxFileInputsCount="1" TargetFolder="~/Temp"
   OverwriteExistingFiles="false" Skin="Office2007" AllowedFileExtensions=".xls,.xlsx"
   ControlObjectsVisibility="None" InputSize="30" />
blablabla
Top achievements
Rank 1
 answered on 16 Dec 2011
3 answers
451 views
Is there such a thing?  If not, what would the best way to have an asp:Label use a Telerik skin like Windows7?

J
Sebastian
Telerik team
 answered on 16 Dec 2011
1 answer
110 views
Is there a way to have the chart image fill the image?

I have set the margins and padding to 0px but I am still getting a lot of white space around the image. It's creating too much of a gap between the list of charts.

Bellow is my chart markup and attached is the image.

Thanks,
Craig
<telerik:RadChart ID="RadChart2" runat="server" DefaultType="Pie" OnItemDataBound="RadChart2_ItemDataBound"
DataSourceID="SqlDataSourceBusArea" Skin="Office2007" IntelligentLabelsEnabled="True"
AutoLayout="True" Height="275px" >
<Appearance>
<Border Visible="False"></Border>
</Appearance>
<Series>
<telerik:ChartSeries Name="sum_area" Type="Pie" DataYColumn="bu_area" DefaultLabelValue="#Y{N0} (#%)">
<Appearance ShowLabels="true" LegendDisplayMode="ItemLabels">
<FillStyle MainColor="69, 115, 167" FillType="Solid">
</FillStyle>
<TextAppearance TextProperties-Color="Black" TextProperties-Font="Arial, 9pt">
</TextAppearance>
<Border Color="69, 115, 167"></Border>
</Appearance>
</telerik:ChartSeries>
</Series>
<Legend>
<Appearance Dimensions-Margins="0px, 0px, 0px, 0px" Dimensions-Paddings="0px, 10px, 0px, 3px"
Dimensions-AutoSize="True" Dimensions-Height="165px" Dimensions-Width="85px">
<ItemTextAppearance TextProperties-Color="Black" AutoTextWrap="False">
</ItemTextAppearance>
<ItemMarkerAppearance Figure="Square">
</ItemMarkerAppearance>
<Border Visible="false" />
</Appearance>
</Legend>
<PlotArea>
<Appearance Dimensions-Margins="0px, 0px, 0px, 0px" SeriesPalette="Vista" Dimensions-Height="275px"
Dimensions-Paddings="0px, 0px, 0px, 0px">
<FillStyle MainColor="" FillType="Solid">
</FillStyle>
<Border Visible="False" />
</Appearance>
</PlotArea>
<ChartTitle Visible="false">
<Appearance Visible="false"></Appearance>
</ChartTitle>
</telerik:RadChart>
Evgenia
Telerik team
 answered on 16 Dec 2011
1 answer
168 views
Hi,

My current projects need me to do some attachment upload and validate it whether it uploaded or not. my current validation is on server side where the validation will call radalert to notify user from serverside after the message stored on db and file saved to server. 

My issue here is the form need to be done within update panel and of course to do upload in update panel it is set to fullpostback on upload event. Why the radlert won't show after being called from server side after a full postback??

This is my update panel snippet :
<tr><td>Attachment(s)</td><td class="btnUpload">
            <telerik:radupload id="ruImage" runat="server" controlobjectsvisibility="RemoveButtons, AddButton" maxfilesize="5120000" >  <localization add="Add image" /> </telerik:radupload>
            </td></tr>
                    </asp:panel>
                    <asp:panel id="pnlMessageResult" runat="server">
                        <tr>
                            <td colspan="2">
                                <asp:label id="lblMessageNote" runat="server" forecolor="Black" />
                            </td>
                        </tr>
                    </asp:panel>
                    <tr>
                        <td colspan="2">
                            <span class="btnAccept">
                                <asp:linkbutton id="lbSend" runat="server" text="Send" onclick="lbSend_Click" /></span>
                            <span class="btnReject">
                                <asp:linkbutton id="lbContactCancel" runat="server" text="Close" onclick="lbContactCancel_Click" /></span>
                        </td>
                    </tr>
                </table>
            </contenttemplate>
        </asp:updatepanel>

and this is a snippet for callback :

        if (ruImage.UploadedFiles.Count > 0)
        {
            UploadAttachment(thread.MessageThreadId);
        }
        MessageThreadController.ADD(thread);
        pnlMessageResult.Visible = true;
        pnlMessage.Visible = false;
        lbSend.Visible = false;
        }
        else
        {
           
            throw new Exception("Upload validation failed");
        }
    }
    catch (Exception ex)
    {
        validationShow(ex.Message, "Missing fields.");
    }
}
 
protected void validationShow(string message, string title)
{
    RadValidationManager.RadAlert(message, 300, 40, title, "alertCallBackFn");
}


Thanks folk!
Dimitar Terziev
Telerik team
 answered on 16 Dec 2011
3 answers
164 views
hi ,
i am trying to write code for rad grid drag and drop feature, I have two grids and i want to drag and drop rows from both grids.
In demo's it is given that client and server side code is to be written for implementing this feature.
But I want to write whole code on client side , in javascript , is it possible to do ?
Daniel
Telerik team
 answered on 16 Dec 2011
1 answer
98 views
does Telrik  asp.net conotrls support html5 specification ?
if yes what version ?
if no what is workaround to support other browser such as safari ?
Princy
Top achievements
Rank 2
 answered on 16 Dec 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?