Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
119 views

hello,

we use the telerik radbutton in a Wizard-Control from ASP.Net
The first step in the Wizard-Control is without error.
In the second step we get a JavaScript-Error with the message "undefined is null or no object".

How we can use the radbutton in a Wizard-Control?


<asp:Wizard ID="Wizard" runat="server" CancelButtonText="Cancel" StepNextButtonText="Next" StartNextButtonText="Next" StepPreviousButtonText="Previous" OnNextButtonClick="OnNextButtonClick" DisplaySideBar="false" Width="100%">
  <LayoutTemplate>
    <asp:PlaceHolder ID="WizardStepPlaceHolder" runat="server" />
    <br />
    <asp:PlaceHolder ID="NavigationPlaceHolder" runat="server" />
  </LayoutTemplate>
  <WizardSteps>
    <asp:TemplatedWizardStep ID="WizardStep1" runat="server" Title="Step 1" StepType="Start">
      <ContentTemplate>
        <affililist:AddStep1Control ID="StepControl" runat="server" ShowOwnSaveButton="false" EditMode="New" DefaultSuccessor="2" />
      </ContentTemplate>
    </asp:TemplatedWizardStep>
    <asp:TemplatedWizardStep ID="WizardStep2" runat="server" Title="Step 2" StepType="Step">
      <ContentTemplate>
        <affililist:AddStep2Control ID="StepControl" runat="server" ShowOwnSaveButton="false" EditMode="New" DefaultSuccessor="3" />
      </ContentTemplate>
    </asp:TemplatedWizardStep>
    <asp:TemplatedWizardStep ID="WizardStep3" runat="server" Title="Step 3" StepType="Finish">
      <ContentTemplate>
        <affililist:AddStep3Control ID="StepControl" runat="server" ShowOwnSaveButton="false" EditMode="New" />
      </ContentTemplate>
    </asp:TemplatedWizardStep>
  </WizardSteps>
  <StartNavigationTemplate>
    <telerik:RadButton ID="StepNextButton" runat="server" CommandName="MoveNext" Text="Weiter" CausesValidation="False"></telerik:RadButton>
  </StartNavigationTemplate>
  <StepNavigationTemplate>
    <telerik:RadButton ID="StepPreviousButton" runat="server" CausesValidation="False" CommandName="MovePrevious" Text="Zurück"></telerik:RadButton>
    <telerik:RadButton ID="StepNextButton" runat="server" CommandName="MoveNext" Text="Weiter"></telerik:RadButton>
  </StepNavigationTemplate>
  <FinishNavigationTemplate>
    <telerik:RadButton ID="FinishPreviousButton" CausesValidation="False" CommandName="MovePrevious" Text="Zurück" runat="server"></telerik:RadButton>
    <telerik:RadButton ID="FinishButton" CommandName="MoveComplete" Text="Anlegen" runat="server"></telerik:RadButton>
  </FinishNavigationTemplate>
</asp:Wizard>
Radoslav
Telerik team
 answered on 02 Jun 2011
2 answers
49 views
Is it possible to use a WebUserControl edit form to edit a DetailTable row in a grid heirarchy?  If so, are there any special requirements in terms of positioning?  Is there any example code of how to process the update?
Sebastian
Telerik team
 answered on 02 Jun 2011
2 answers
123 views
Hi Guys,

You know how we get a nice Telerik menu in VS now? Well, I think it would be really helpful to display the version information of the currently installed tools, like maybe when you hit Telerik -> About. It would be even better if you have a project open to show the version that the project is using if it's different from any currently installed versions. Thanks!
Sebastian
Telerik team
 answered on 02 Jun 2011
1 answer
58 views
Hello all,

I am stuc, don’t really know what to do

 

I have to produce more than a dozen overviews for different things, in such an overview i have multiple ID's of Parenttables which have to be clickable to get the next set of data.

 

Is there a way to use one single form and multiple datasets, and separate, flexible formatting/Layouts depending on the supplied dataset?

 

Any ideas?

Regards Marco

Iana Tsolova
Telerik team
 answered on 02 Jun 2011
3 answers
83 views
We are doing an evaluation and are trying to get improve the initial load of the a RadGrid webpage, and have made several posts and are working through the suggestions recommended.  A little background:

(1) Page has 1 level Rad Grid which has 29 bound columns
(2) The bound columns have several drop down lists that populated from other tables in the DB, a few are checkboxes, and a few are date time, with the rest being default GridBound
(3) Page takes approx 17 secs to load with a xfer size approx 130K(Fiddler)

One of the suggestions had to do with using RadCompression.  We are using II6 and have added the compression setting as outlined in:

http://telerikwatch.com/2009/01/optimization-tips-radcompression-module.html

Using Fiddler it seems that both before and after we placed the RadCompression Setting into the webconfig, Fiddler sees the approx the same amount of data xmitted across the wire--approx 130K. 

Any ideas on why this would not be working?  Or is there a way for us to see what radcompression did compress

Thanks,
John.



Iana Tsolova
Telerik team
 answered on 02 Jun 2011
1 answer
55 views
Now, we use the Rad ASP.NET Ajax Version Q.1 2009. and we plan to update our Rad Control to the lastest release.

What are supported browser for this Q.1 2009 release? Because we want to build the business website to support IE7,8,9.

Should we update the Rad ASP.NET Ajax Control to make our website to support in IE7+ web browser?
Sebastian
Telerik team
 answered on 02 Jun 2011
5 answers
102 views
Hi Telerik,

I have two tabs, one tab displays some information and a tab to load GoogleMapAPI.

When run the program I set SelectedIndex is Tab1, then press into Tab2, the GoogleMapAPI in Tab2 will display error on Firefox (3.6+) and Chrome (9+). It's ok on IE 8


Please view my code below


<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"
    SelectedIndex="0">
    <Tabs>
        <telerik:RadTab Text="Some Infomations">
        </telerik:RadTab>
        <telerik:RadTab Text="Google Map API">
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0">
    <telerik:RadPageView ID="RadPageView1" runat="server">
        Some Infomations
    </telerik:RadPageView>
    <telerik:RadPageView ID="RadPageView2" runat="server">
        Google Map API
        <br />
        <br />
        <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
 
            <script type="text/javascript">
            /*
            Google Map API v3
            */
 
            // khoi tao map
            function loadScript() {
                var script = document.createElement("script");
                script.type = "text/javascript";
                script.src = "http://maps.google.com/maps/api/js?v=3.3&sensor=true&callback=initialize";
                document.body.appendChild(script);
            }
 
            window.onload = loadScript;
 
            // initialize
            function initialize() {
                var latLng = new google.maps.LatLng(21.042324102802453, 105.77579302215577);
 
                // geocoder init
                var geocoder = new google.maps.Geocoder();
 
                // map options
                var myOptions = {
                    zoom: 13,
                    center: latLng,
                    mapTypeId: google.maps.MapTypeId.ROADMAP
                }
 
                // init map
                var map = new google.maps.Map(document.getElementById('map_canvas'), myOptions);
 
                // create marker
                var marker = new google.maps.Marker({
                    position: latLng,
                    map: map,
                    draggable: true
                });
            }
            /*
            END Google Map API v3
            */
            </script>
            <div id="map_canvas" style="width: 600px; height: 400px; margin-left: 40px;" />
        </telerik:RadScriptBlock>
    </telerik:RadPageView>
</telerik:RadMultiPage>

Veronica
Telerik team
 answered on 02 Jun 2011
1 answer
343 views
Hi,

Please can you tell me how to get the physical path of the file uploaded using file explorer.
For ex : I uploaded suppose qwerty.html .The uploaded file stored in in this phyical path  c:/content/content/Hospital1/qwerty.html
virtual path is /Content/folder1/Folder2/Qertyy.html.

Now same file if i want to download i need phyical path i.e c:/content/content/Hospital1/qwerty.html
How can i get this using fileexplorer.?

Please post the working demo example.
dont send any links for checking .i alredy checked all those links.

Thanks
Bhavani
Rumen
Telerik team
 answered on 02 Jun 2011
5 answers
160 views
A very basic page
* telerik script manager
* mootools 1.1 (with array.foreach fix for asp.net)
* linkbutton (for postback)
* empty radgrid

In IE7, after postback I get "Microsoft JScript runtime error: Object doesn't support this property or method" on a simple "document.getElementbyId()"

The stack trace was something like
unload handlers -> grid dispose metod -> $get -> getElementById -> error

Page
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="Test_Default" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
<title>Untitled Page</title> 
</head> 
<body> 
<form id="form1" runat="server"
     
    <telerik:RadScriptManager ID="RadScriptManager1" Runat="server" /> 
    <script type="text/javascript" src="mootools-1-11.js"></script> 
    
    <asp:linkbutton ID="Button1" runat="server" text="Submit" onclick="Button1_Click" /> 
     
    <telerik:RadGrid ID="grid" runat="server" EnableAjaxSkinRendering="False"
        <MasterTableView> 
            <Columns> 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 
     
</form> 
</body> 
</html> 

Code behind
using System; 
using System.Collections; 
using System.Web; 
 
public partial class Test_Default : System.Web.UI.Page 
    protected void Page_Load( object sender, EventArgs e ) 
    { 
        // EMPTY 
    } 
 
    protected void Button1_Click( object sender, EventArgs e ) 
    { 
        // EMPTY 
    } 


Any ideas?

Veli
Telerik team
 answered on 02 Jun 2011
1 answer
447 views
Hi guys, is it possible to change the colors of items within  the listbox?

i gave the listbox a text and datavalue, now the data value is a category value..if the first chosen type value is A..it would highlight other items that have the same value as the initial checked item

Shinu
Top achievements
Rank 2
 answered on 02 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?