Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
69 views
I'm trying to find an example where someone has a tooltip that changes PER row.  I understand that on itemdatabound I can change the values within the tooltip.  However, I can't find an example of how to put the radtooltip within the grid so that you can call it per row.  Anyone???

Iana Tsolova
Telerik team
 answered on 16 Feb 2011
1 answer
88 views
Hi

I Read Many forums but i didnt got the solution for this?

I will have my aspx code here
<Code>
  <telerik:RadGrid runat="server" ID="radgvInbox"  AutoGenerateColumns="false"  
GridLines="None"  Width="100%" BorderWidth="0px" AllowSorting="True" 
ShowGroupPanel="True"  style="margin-right: 0px" AllowPaging="true" Height="300px" 
            onprerender="radgvInbox_PreRender1">
             
                     <ClientSettings Scrolling-AllowScroll="true" Scrolling-UseStaticHeaders="true" Selecting-AllowRowSelect="true"
EnablePostBackOnRowClick="true" AllowDragToGroup="true" EnableRowHoverStyle="true" 
                      AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                    <Selecting AllowRowSelect="True" />                                   
                    <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True"
                    ResizeGridOnColumnResize="False"></Resizing>
                    </ClientSettings>
                                             
                    <MasterTableView TableLayout="Fixed" GroupLoadMode="Client" DataKeyNames="MessageID"
AdditionalDataFieldNames="Date" UseAllDataFields="true" RetrieveAllDataFields="true">                                         
                     <GroupByExpressions>
<telerik:GridGroupByExpression>
<GroupByFields>
<telerik:GridGroupByField FieldName="Received" HeaderValueSeparator=":" SortOrder="Descending" />
</GroupByFields>
<SelectFields>
<telerik:GridGroupByField FieldName="Received" HeaderText="Date" FormatString="{0:d}" />
</SelectFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>


       <Columns>
                            <telerik:GridBoundColumn DataField="From" HeaderText="From">
       </telerik:GridBoundColumn>
                          <telerik:GridBoundColumn DataField="Subject" HeaderText="Subject">
       </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Received" HeaderText="Received">
       </telerik:GridBoundColumn>
                        </Columns>

                    </MasterTableView>                        
                </telerik:RadGrid>
</Code>

In cs page

 radgvInbox.DataSource = dr;
        radgvInbox.DataBind();


thats what i am doing why i am getting that error..i think i missed a small thing ..will anyone help regarding this issue please
Princy
Top achievements
Rank 2
 answered on 16 Feb 2011
1 answer
78 views
Hello,

Is there any simple tutorial to start with Template Columns with constant data ? like in column types demo there is a mess of all columns types, it sounds creepy.
Shinu
Top achievements
Rank 2
 answered on 16 Feb 2011
0 answers
99 views
Hello,

I have a simple example in which the javascript function is executed after a postback to clear a load-on-demand box which allows
custom text to be entered:

function Clear(){
var combo = $find("<%= RadComboBox1.ClientID %>");  
combo.clearSelection(); 
}

When I put a break on the function, I can see that the combo object is having a value OK.
But the IE 8 browser complians the clearSelection() is not a valid method!

I tried to use the set_text() and set_value() but then I do not see the Empty message string!

Is there any way to preserve the empty message and de-select a item?

Thanks,
Sanjay

Any help

Sanjay
Top achievements
Rank 1
 asked on 16 Feb 2011
2 answers
46 views
Hi,

I have a Rad Grid. In that Rad Grid, I used the EditFormType="WebUserControl". 
So, I have a User Control. In that user control, I have a search button.
If click on the search button, I want to show the rad window (window.radOpen).

How can i write that javascript function in user control by radgrid?

Please help me out.

Regards,
Sundee.

Su
Top achievements
Rank 1
 answered on 16 Feb 2011
2 answers
195 views
Hi,

I am debugging an application that has just been upgraded to the ASP.NET AJAX controls from Classic.  I ran into the following problem.  I have these two lines of code:

RadDatePicker minValDate = new RadDatePicker();
minValDate.SelectedDate = new System.DateTime();

The second line gives me an error.  "Value of '1/1/0001 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'.\r\nParameter name: SelectedDate"

According to MSDN "01/01/0001" is a legitimate minimum value of the System.DateTime().  So, I am wondering if there is something I am missing with my RadDatePicker.

Thanks,
Olga
Olga
Top achievements
Rank 1
 answered on 15 Feb 2011
4 answers
75 views
Hi there,

We are using the RadEditorProvider in our DNN site, and in the RadEditor's config file, we have the ContentFilters property set to "None". When in the editor, it still seems to be changing text while toggling between HTML and design views. The text it is changing is "<!-->", it is changing it to "<!---->". Any ideas on how to absolutely stop changing any text between views? We are using the RadEditorProvider version 4.9.1 and DNN 4.9.4. The version of the Telerik.Web.UI file is 2009.3.1103.20. Any assistance would be so greatly appreciated!

Regards,

Marco
Marco
Top achievements
Rank 1
 answered on 15 Feb 2011
2 answers
105 views
I have not been able to get the right search to answer this question.  Quite simply I want the imageurl to display on the right not the left.   The formatting looks messy because the image url comes and goes misaligning the text.

I have tried to implement the ItemTemplate   but cannot get a sample that binds to RadCombo  which is loaded dynamically creating combo items on the fly with search criteria.

protected void ddl_ItemsLoad(object sender, RadComboBoxItemsRequestedEventArgs e)
        {
            const int ItemsPerRequest = 40;...

I load up the items like this...   I also apply a search criteria on result to subset my response back.

                RadComboBoxItem item = new RadComboBoxItem(name, row["ID"].ToString());
                if (Manufacturer)
                    item.ImageUrl = "~/images/Manufacturer.png";
                result.Add(item);

I just cannot get the right magic to show the layout the way I want.   It works perfectly showing the image on the left, not where I want it.
Ken
Top achievements
Rank 1
 answered on 15 Feb 2011
0 answers
82 views
I have a tree view on my screen
<telerik:RadTreeView ID="RadTreeView1" runat="server" >
             <DataBindings>
              <telerik:RadTreeNodeBinding Depth="0" Expanded="true" />
          </DataBindings>
</telerik:RadTreeView

And I am adding the data from the code behind

var nData = from p in db.PeforrmanceDatas
        where p.PerformanceGroup.FundFamilyID == Int32.Parse(Request.QueryString["ffid"])
                        select new
                        {                            
                            p.PerformanceGroup.PerformanceGroupName,
                            p.Class,
                            p.ClassID
                        };
  
            RadTreeView1.DataTextField = "Class";
            RadTreeView1.DataFieldID="ClassID";
            RadTreeView1.DataFieldParentID = "PerformanceGroupName";
            RadTreeView1.DataSource = nData;
            RadTreeView1.DataBind();


If I do not include the DataFieldParentID it will load a single level tree but when I add the hierarchy it will not load the treeview.
Eric Klein
Top achievements
Rank 1
 asked on 15 Feb 2011
6 answers
134 views
Hello!

I have a radgrid, which has a user control as edit form. On the grid page i have a radajaxmanager.
In the user control i would like to use javascript functions (button->onclientclick). Therefor i have a radscriptblock.
The javascript in the user control causes an error because of the radajaxmanager (The javascript function has only an alert for testing). If i remove the radajaxmanager, everything works fine.
If searched a lot in the forum and testet  a view things without success.
Please can someone help me out of this problem?
Thank you!
Travis
Top achievements
Rank 1
 answered on 15 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?