Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
270 views
 Hi, 
   The problem is that when I press the button, I dont see either the TEXTBOX or the RADTEXTBOX clientside. I am wondering the best way to do this. I have tried using various combinations of javascript to have TEXTBOX1 appear clientside, but with no success.  I didnt want to show every combination I tried , so here is just the basic attempt.   

This is the aspx .....  
<%@ Page Language="C#"   MaintainScrollPositionOnPostback="true"%> 
<%@ Register TagName="IQeqpTag" TagPrefix="IQeqpPrefix" Src="~/mybodyscience/V02/iqControls/a_test_iqLocationsTEST.ascx" %> 
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %> 
   
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  
"http://www.w3.org/TR/html4/strict.dtd"> 
   
<%-- QUIRKS MODE MAKES THIS PAGE WORK IN FIREFOX <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> --%> 
   
 
<script runat="server">  
    
      
     
</script> 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head id="Head1" runat="server">  
    <title>Untitled Page</title>   
</head> 
<body > 
    <form id="form1" runat="server">  
 
  <asp:ScriptManager ID="ScriptManager1" runat="server">  
    </asp:ScriptManager>       
     <table align="center" >    
        
     <tr> 
      <td align="center" width="100%">  
        <strong><span style="font-size: 14pt; color: #3300ff; " >Equipment Descriptions  
             <br /> 
        </span></strong>  
      </td> 
      </tr> 
     
    </table>    
     
         
    <table id="tqtable" align="center" border="0">         
      <tr>   
     <td style="width: 400px" >       
       <IQeqpPrefix:IQeqpTag ID="iqaTLocationUC"   runat="server" /> 
      </td>        
    </tr>   
    </table> 
     
  </form> 
</body> 
</html> 
 

This is the ascx .... 
<%@ Control Language="C#"  AutoEventWireup="true" %>   
<%@ Import namespace="System.Data" %> 
<%@ 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"> 
 
 <script runat="server">    
  
      
       
</script> 
 
<script language="javascript" type="text/javascript">  
     
 
   
</script>    
   
        
    
 <div id="lcsDataEntry" runat="server">    
    <asp:UpdatePanel ID="UpdatePanel188"  runat="server">  
 <ContentTemplate> 
   <asp:Button  ID="lcsAddLocation" runat="server" Text="Add a New Location" 
     ToolTip="Adds d new Location"    
     BorderWidth="2" BorderStyle="Solid" CausesValidation="false"            
     Font-Bold="true" Font-Size="Smaller" > 
   </asp:Button>   
   
  <telerik:RadToolTip ID="iqQAddRadToolTip" runat="server" 
Skin="Office2007"  ShowEvent="OnClick"   
Position="Center" RelativeTo="Element" 
Title="Enter New Location"    
Modal="True"  ShowDelay="0"     
ShowCallout="True" Height="100px"   Width="250px" TargetControlID="lcsAddLocation"    
  HideEvent="ManualClose">    
    
  <asp:TextBox ID="TextBox2"  runat="server" Height="50px" TextMode="MultiLine" Width="220px"></asp:TextBox>    
   
</telerik:RadToolTip>    
      
  </ContentTemplate> 
   </asp:UpdatePanel>     
      
     
   </div>    
      
  

thanks for your time.
Svetlina Anati
Telerik team
 answered on 29 Jul 2009
2 answers
82 views
Hi i have an open window that opens a second window on a button being pressed what i want to do is close the first window while the second is being opened is there a way to do this?

the second window is opened programmatically from the first

Many thanks
Kevin
Shinu
Top achievements
Rank 2
 answered on 29 Jul 2009
2 answers
130 views
Hello
I have been developing a page using telerik controls,
My page contains a  multiView with 4 views and a radtoolbar and a radmenu
one view containing a radgrid and the others containg radcombo boxes and radtextboxes

My problem is that it takes time loading (almost 1.9 seconds) and the page size is almost 1.5 MB
which is not accepted for some clients.

Is there any fix for this problem?
Richard
Top achievements
Rank 1
 answered on 29 Jul 2009
2 answers
151 views
We currently have a need to have a radgrid with a data source pulling the data, but then we need to allow people to post data into three columns without having them update until they are done.  The grid view code is below. Is there a way to go row by row, and get the data for each of the text boxes we created?  Once they have entered the fields they are wanting to update, they will press a button which would go thru each row and check to see if they entered payment data.

<

 

telerik:RadGrid ID="Grid_PaymentPosting" runat="server" AutoGenerateColumns="False"

 

 

DataSourceID="SQLBalances" Skin="Vista" AllowSorting="True">

 

 

<MasterTableView DataKeyNames="FamilyID" DataSourceID="SQLBalances">

 

 

<RowIndicatorColumn>

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn>

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

</ExpandCollapseColumn>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="FamilyID" DataType="System.Int32"

 

 

HeaderText="FamilyID" ReadOnly="True" SortExpression="FamilyID"

 

 

UniqueName="FamilyID" Visible="False">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="UserID" DataType="System.Int32"

 

 

HeaderText="UserID" SortExpression="UserID" UniqueName="UserID" Visible="False">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="SystemFamilyID" DataType="System.Int32"

 

 

HeaderText="SystemFamilyID" SortExpression="SystemFamilyID"

 

 

UniqueName="SystemFamilyID" Visible="False">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="FamilyName" HeaderText="FamilyName"

 

 

SortExpression="FamilyName" UniqueName="FamilyName">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="ParentFirstName"

 

 

HeaderText="ParentFirstName" SortExpression="ParentFirstName"

 

 

UniqueName="ParentFirstName">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="ParentLastName" HeaderText="ParentLastName"

 

 

SortExpression="ParentLastName" UniqueName="ParentLastName">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="RegFees" DataType="System.Decimal"

 

 

EmptyDataText="0.00" HeaderText="Registration Fees" ReadOnly="True"

 

 

SortExpression="RegFees" UniqueName="RegFees">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Payments" DataType="System.Decimal"

 

 

EmptyDataText="0.00" HeaderText="Payments" ReadOnly="True"

 

 

SortExpression="Payments" UniqueName="Payments">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="OrganizationID" DataType="System.Int32"

 

 

HeaderText="OrganizationID" SortExpression="OrganizationID"

 

 

UniqueName="OrganizationID" Visible="False">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Name On Check"

 

 

UniqueName="NameOnCheck">

 

 

<ItemTemplate>

 

 

<telerik:RadTextBox ID="TxtNameOnCheck" Runat="server"

 

 

EmptyMessage="Enter Name On Check" Skin="Sunset" Width="200px">

 

 

</telerik:RadTextBox>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Check Number"

 

 

UniqueName="CheckNumber">

 

 

<ItemTemplate>

 

 

<telerik:RadTextBox ID="TxtCheckNumber" Runat="server"

 

 

EmptyMessage="Check Number" Skin="Sunset" Width="125px">

 

 

</telerik:RadTextBox>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Check Amount"

 

 

UniqueName="CheckAmount">

 

 

<ItemTemplate>

 

 

<telerik:RadNumericTextBox ID="TxtAmount" Runat="server"

 

 

Culture="English (United States)" Skin="Hay" Type="Currency" Value="0"

 

 

Width="45px">

 

 

</telerik:RadNumericTextBox>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

 

Michael Coffey Jr
Top achievements
Rank 1
 answered on 29 Jul 2009
2 answers
365 views
How to check radupload control is blank on click of Submit button with Client-Side Validation.
i have already checked validated extension on client side with custom validator control.
i want to check radupload control cannot blank with this function.
Rabish Singh
Top achievements
Rank 1
 answered on 29 Jul 2009
5 answers
164 views
Hi,

I have to say a great start however unless I am  missing some thing I don't think that font customization is working for grid using default skin. No matter what I do the font reverts back to 'segoe ui'.

Thank you.
Alex Gyoshev
Telerik team
 answered on 29 Jul 2009
2 answers
102 views
I am having a lot of trouble trying to get a My Portal type of application to work.  I resorted to copying the My Portal code straight from the demo page to see if I could get that working.  I removed the qsf references and also added my own controls in the Select Module drop-down.  I still can't get it to work.  I'm sure I'm missing something...help!

The Docking Zone drop-down doesn't populate.  So I populated that manually.  The docks appear when I Add Dock, but their state doesn't save on a postback.

I would post the code, but it is exactly like the My Portal demo code except for the changes I mentioned.  Did any of those changes I made cause the problems I'm having?

Thanks so much!
Pero
Telerik team
 answered on 29 Jul 2009
3 answers
128 views
Hello.

I want to use HeaderTooltip property of Grid's column to display the detailed description of column. It works fine, until I set ClientSettings.AllowColumnsReorder to True. Then, I get "Drag to group or reorder" instead of my own tooltip. I do not want any reorder message to be displayed, how do I remove it? If I set it to empty string, my tooltip still does not appear.

Same thing about "Click here to sort", I do not want it neigther.

Thanks!
Sebastian
Telerik team
 answered on 29 Jul 2009
1 answer
88 views
My problem is that when I set the enclosing splitter to 100% width and height (I would like to have everything resize automatically as the window size changes) everything stretches to the working area size instead of the parent element.  Below is an example of my page.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="panel.aspx.cs" Inherits="tests_panel" %>   
   
<%@ 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 id="Head1" runat="server">    
    <title>Untitled Page</title>   
    <style type="text/css">  
html,    
body,    
form    
{    
    margin: 0;    
    height: 100%;    
    border: 0;    
    padding: 0;    
    overflow: hidden;    
}   
 
#rsMain {margin:10px;}  
#rpBody {padding:10px; }  
 
</style> 
 
</head>   
<body>   
<form id="form1" runat="server">   
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">   
</telerik:RadScriptManager>   
 
   <telerik:RadSplitter ID="rsMain" runat="server" Orientation="Horizontal" Width="100%" Height="100%">  
    <telerik:RadPane ID="rpHeader" runat="server" Height="30" BackColor="Green">Header</telerik:RadPane> 
    <telerik:RadPane ID="rpBody" runat="server" BackColor="yellow">  
      <telerik:RadSplitter ID="body" runat="server">  
        <telerik:RadPane ID="rpLeft" runat="server" Width="300">  
          left  
        </telerik:RadPane> 
        <telerik:RadSplitBar Id="splitbar" runat="server"/>  
        <telerik:RadPane ID="rpRight" runat="server">  
          right  
        </telerik:RadPane> 
      </telerik:RadSplitter>      
    </telerik:RadPane> 
    <telerik:RadPane ID="rpFooter" runat="server" Height="30" BackColor="Blue">Footer</telerik:RadPane> 
    </telerik:RadSplitter> 
      
</form>   
</body>   
</htm>
Svetlina Anati
Telerik team
 answered on 29 Jul 2009
1 answer
94 views
Hi,

I have a radgrid that's being generated in code behind then I am using a edititemtemplate to create a radeditor.

I get the Web.config registration missing error when trying to open the image dialog from the toolbar,  same as if the dialog handler isn't registered in the webconfig but it is,  I manual entered them and also deleted then used a rad editors smart tag to add them again

Ive tried all of the suggestions without much luck,   adding to the web.server,  with version numbers, without etc...

This was working until q1 2009 and is in a web application not a web project.

if the telerik dll is in the gac and not in the bin,  do I have to use the version and public key in the type.   if so what would they be for the latest version that's available and ill try that.

If I just create a new web application drag a editor to a page, use the smart tag then the dialogs work.

Thanks
-Keith
Rumen
Telerik team
 answered on 29 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?