Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
117 views

How I get RadFilter Add expression Click Id ,
It's Urgent
See The Image

Thanks Advance,
Mohamed.
Martin
Telerik team
 answered on 05 Jul 2012
5 answers
256 views
Hi,

I have a tree view control. In that I have tree view populted with Node Image and Text Property.

I have added a new node template column with asp.Image button control inside node template column.
But when I added node template column Text property of Rad Tree view is not showing :(.
 
Please give some hints on this scenario.
A2H
Top achievements
Rank 1
 answered on 05 Jul 2012
3 answers
267 views
Hi All,
I have a grid which is perfectly fine and fill with data.
Now i need to loop through the grid in order to read out its column name and data in a button click event.I have search online and try with few  alternatives and it is not working.Can anyone help?
I have try with :

1). ajaxExport.Columns(0).HeaderText

2). For Each column As GridDataItem In ajaxExport.Items
                If TypeOf column Is GridDataItem Then
                    Dim col As GridDataItem = TryCast(column, GridDataItem)

                    a = col(0).Text
                    'col.Width = 90
                    'col.HeaderText = "Column count: " + i.ToString
                    i = i + 1
                End If
            Next


Help Please!!
Shinu
Top achievements
Rank 2
 answered on 05 Jul 2012
3 answers
167 views
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="mtidb_app.test" %>
<%@ 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></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="radsm" runat="server" EnablePageMethods="true" EnablePartialRendering="true" />  
    <telerik:RadWindowManager ID="RadWindowManager2" runat="server" EnableShadow="true" ></telerik:RadWindowManager>
    <telerik:RadAjaxManager ID="radam" runat="server" EnableHistory="True"></telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel id="LoadingPanel" Runat="server" Transparency="30" EnableSkinTransparency="false" Width="100%" Height="100%" BackgroundPosition="Center"  >   
    </telerik:RadAjaxLoadingPanel>  
    
    <telerik:RadAjaxPanel ID="radp4" runat="server" LoadingPanelID="LoadingPanel" Width="100%" >
    <telerik:RadCodeBlock ID="RadCodeBlock4" runat="server">
        <script type="text/javascript">
            function CalculateAdjustment() {
                var reg = $find("<%= tbAdjustReg.ClientID %>");
                var tuition = $find("<%= tbAdjustTuition.ClientID %>");
                var admin = $find("<%= tbAdjustAdmin.ClientID %>");
                var supply = $find("<%= tbAdjustSupply.ClientID %>");
                var uniform = $find("<%= tbAdjustUniform.ClientID %>");
                var textbook = $find("<%= tbAdjustTextbook.ClientID %>");
                var other = $find("<%= tbAdjustOther.ClientID %>");
                var tax = $find("<%= tbAdjustTax.ClientID %>");
                var total = $find("<%= tbAdjustTotal.ClientID %>");

              if (reg.get_value() == '') reg.set_value('0');
               if (tuition.get_value() == '') tuition.set_value('0');
                if (admin.get_value() == '') admin.set_value('0');
                if (supply.get_value() == '') supply.set_value('0');
                if (uniform.get_value() == '') uniform.set_value('0');
                if (textbook.get_value() == '') textbook.set_value('0');
                if (other.get_value() == '') other.set_value('0');
                if (tax.get_value() == '') tax.set_value('0');

                total.set_value(reg.get_value() + tuition.get_value() + admin.get_value() + supply.get_value() + uniform.get_value() + textbook.get_value() + other.get_value() + tax.get_value());
            }
        </script>
    </telerik:RadCodeBlock>                    

<div><telerik:RadNumericTextBox ID="tbAdjustReg" runat="server" ClientEvents-OnValueChanged="CalculateAdjustment" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
<div><telerik:RadNumericTextBox ID="tbAdjustTuition" ClientEvents-OnValueChanged="CalculateAdjustment" runat="server" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
<div><telerik:RadNumericTextBox ID="tbAdjustAdmin" ClientEvents-OnValueChanged="CalculateAdjustment" runat="server" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
<div><telerik:RadNumericTextBox ID="tbAdjustSupply" ClientEvents-OnValueChanged="CalculateAdjustment" runat="server" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
<div><telerik:RadNumericTextBox ID="tbAdjustTextbook" ClientEvents-OnValueChanged="CalculateAdjustment" runat="server" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
<div><telerik:RadNumericTextBox ID="tbAdjustUniform" ClientEvents-OnValueChanged="CalculateAdjustment" runat="server" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
<div><telerik:RadNumericTextBox ID="tbAdjustOther" ClientEvents-OnValueChanged="CalculateAdjustment" runat="server" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
<div><telerik:RadNumericTextBox ID="tbAdjustTax" ClientEvents-OnValueChanged="CalculateAdjustment" runat="server" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
<div><telerik:RadNumericTextBox ID="tbAdjustTotal" ReadOnly="true" runat="server" Type="Currency" NumberFormat-DecimalDigits="2" Width="110" /></div>
</telerik:RadAjaxPanel>
</form>
</body>
</html>


The code working well in v2.0.50727 version but when i try to switch Q2 2012, it is just stop working.
Pls hlp
Shinu
Top achievements
Rank 2
 answered on 05 Jul 2012
5 answers
306 views
Firstly am very fresh to this components. I already used css to lay asp:labels and asp:textboxes etc ..even grid control and calender cntrls in asp.
We need UI help to design a big project which have lot of labels and its Associated Input fields to lay ...2 column ..3 column upto 4
So how we have to write our CSS.

I just go thru the a page which is fully filled with telerick controls. And i found we cant change their color or margins or paddings thru CSS. Only we can control its width from an external CSS file. Also dropdowns are rendering inside a table so i cant control its width with SELECT tag.

Also i found that in grid if column increase width also increase will break layout ..Pls help me am attaching a sample page in our present ASP application
Thanks in Adv
 
UI Designer
Vargis
Top achievements
Rank 1
 answered on 05 Jul 2012
2 answers
146 views
Problem 1

As you described in your own website
http://www.telerik.com/help/aspnet-ajax/input-css-width.html

CssClass="TextBoxClass" is not working in telerik:RadTextBox. Its default width is rendering. Here is the css and aspx part.

CSS---------------------------------------------------------------------------------------------------------------------------------------------------------------

.divcol-S .TextBoxClass {width:70%!important}

ASP Page---------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="divcol-S">

<asp:Label ID="Label26" runat="server" Text="Vessel Name"></asp:Label>
<telerik:RadTextBox ID="txtVesselName" runat="server" CssClass="TextBoxClass"></telerik:RadTextBox>

<asp:Label ID="Label29" runat="server" Text="Vessel Type" ></asp:Label>
<telerik:RadComboBox ID="ddlVesselType" runat="server" CssClass="TextBoxClass"></telerik:RadComboBox>

</div>
_________________________________________________________________________________________________________________________________________________


Problem 2

As you described in your own website
http://www.telerik.com/help/aspnet-ajax/input-css-selectors.html

.riTextBox - INPUT OR TEXTAREA - The common class for the input area in all states. (from your own words)
(These class names are for the "Default" skin. For other skins, replace the string "Default" with the name of the skin.)

This means we can change the property of input/textarea globally in the entire application with this specific ClassName .riTextBox.
So no need to put CssClass on every <telerik:RadTextBox> control. But unfortunately this also not working.


CSS---------------------------------------------------------------------------------------------------------------------------------------------------------------

.divcol-S .riTextBox {width:70%!important}

ASP Page---------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="divcol-S">

<asp:Label ID="Label26" runat="server" Text="Vessel Name"></asp:Label>
<telerik:RadTextBox ID="txtVesselName" runat="server" ></telerik:RadTextBox>

<asp:Label ID="Label29" runat="server" Text="Vessel Type" ></asp:Label>
<telerik:RadComboBox ID="ddlVesselType" runat="server" ></telerik:RadComboBox>

</div.

Thanks in Adv
Vargis
Top achievements
Rank 1
 answered on 05 Jul 2012
4 answers
346 views
Hi,

I've run in to a problem that I can't seem to find a solution for. We want to set the label for a RadTextBox with HTML code, like this

Name <span class='required'>*</span>

We use this to give the required star a different color / style, we set it like this from the code behind:
txtT.Label = Required ? string.Format("{0} <span class='required'>*</span>", value) : value;

However the problem is the the html code is not rendered as HTML, but as readable text showing us this label in the browser.
So it shows us: Name <span class='required'>*</span>
Instead of: Name *

How can I solve this and make the label write the HTML as I set it?

Thanks,
Danny
Princy
Top achievements
Rank 2
 answered on 05 Jul 2012
3 answers
395 views
How can I get the values of all columns in a row that is previous to the current edited row? I can access the columns of the edited row, but I am not sure how to get the values of a specific row. When i am editing the grid for any particular row, I need to get the values of the immediate previous row. Can someone plese let me know?
Shinu
Top achievements
Rank 2
 answered on 05 Jul 2012
7 answers
144 views
Hi,
I have been away from telerik for a while and now i am back. I am wondering the proper way to handle the following:
1 - On my current development machines, I am currently on:
Telerik Reporting 3.0.9.430
Telerik.Web.Design dll 2009.2.826.35
I am trying to upgrade to the most current version of Rad Ajax and Reporting. Do i just download and install RadControlsForAspNetAjaxControlPanal_2012_2_607.exe and Telerik_Reporting_Control_Panel_Q2_2012_v6_1_12_611.exe over these?
2 - Where does RadControls_Q1_2009_Dev_last_update.msi come in to play?

3 - I have a new lap top that does NOT have any telerik on it. But I need to be able to run my 2009.2.826.35 telerik code until i bring this new lap top up to the latest telerik version. How do i download and install this 2009.2.826.35 version, and do i need to consider hot fixes? OR, should i just install the current version of telerik.

4 - Is there someplace i can go to see the "what and why" of how my Web.config needs to look.

thanks for your time
IQworks
Top achievements
Rank 1
 answered on 04 Jul 2012
1 answer
65 views
Hello everyone,

My sliders changing item style when sliding. 
you can check how its working from this link.
And also i changing my sliders item font size via css classes like this.

.bold5 .rslItemsWrapper li span
{
    font-size: 9px !important;
}

Problem is when sliding, unselected items font size changing by default. (11px)
How can set element style font size of my items to 9px?
You can check from this link how it works 
Thank you and best regards


omer
Top achievements
Rank 1
 answered on 04 Jul 2012
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?