Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
125 views
I am using a radgrid in my projet  When i click "Add new Record" button automaticly a new row creating . 2 colums has radnumerictextbox
and i want to make "0"  value of other radnumerictextbox  wheen i enter some value one of radnumerictextbox .

I accomplish it when i update a record  but i didnt do it when i insert a new recor ....
                        function onCommand(sender, args) 
                        {                                         
                                 if(args.get_commandName()== 'Edit')  
                                 {     
                                   currentRowIndex = args.get_commandArgument();  
                                   
                                 } 
                                                
                        }          
                                   
                        function onKeyPresstbBorc(sender, eventArgs) 
                        { 
                          alert(currentRowIndex); 
                          var masterTable = $find("<%=RadGrid1.ClientID%>").get_masterTableView();  
                          var dataItem = masterTable.get_dataItems()[currentRowIndex]; 
                          var radTextBox1 = dataItem.findControl("tbAlacak"); 
                          radTextBox1.set_value(0.00); 
                        } 


 when i want to edit a record i use the above code and it work . but i dont know how can i do when i new record inserting  ????




 
fatih ak
Top achievements
Rank 1
 answered on 29 Jul 2009
1 answer
40 views
Hi everybody.
I want to know if it is possible to show the scheduler from a specific time slot.
The thing is, I always show the 24 hours at the diary view, but I want to show it from the first appointment of the day. For example, if I have an appointment at 8:00 am, I want that the scheduler shows from that time but that the user could scroll to see all the day..

thanks

Fernando
T. Tsonev
Telerik team
 answered on 29 Jul 2009
5 answers
605 views
I can't get RadToolTip or RadToolTipManager to display tooltips for radcontrols!
I have a normal button and the tooltip and tooltipmanager show the tooltips perfectly for it, as soon as I turn them to point a the radtextbox or the radcombobox, I just get an empty tooltip.  If I set the tooltip message in the controls tooltip, I get the empty RadToolTip under the controls default tooltip message.  What am I missing? 
Svetlina Anati
Telerik team
 answered on 29 Jul 2009
1 answer
133 views
Hi,

Is there a way to easily convert a RecurrenceRule to an EWS RecurrenceType ?

Thanks
T. Tsonev
Telerik team
 answered on 29 Jul 2009
0 answers
56 views
Hi,
 i am tried to read all the nodes on button click event. But when i expand all the nodes in a tree and click button , i am
able to read all the nodes which have expanded. But i cant read the vales with  out expanding any of the values.

Here is my code...http:///
protected void btnBnext_Click(object sender, EventArgs e) 
    { 
        RadTreeView1.ExpandAllNodes(); 
         
        foreach (RadTreeNode NodeToExpand in RadTreeView1.GetAllNodes()) 
        { 
             
            //# region Fields 
            //StringBuilder strBldr = new StringBuilder(); 
            //# endregion 
            //strBldr.Append("<root>"); 
            //strBldr.Append("</root>"); 
        } 
     
       
    } 
Plz help me!!

Regards!
chithuraj.j
chithuraj
Top achievements
Rank 1
 asked on 29 Jul 2009
2 answers
283 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
85 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
134 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
159 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
377 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?