Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
86 views
Hi,
it's possible to apply nodetemplate only at child nodes?
Example:

parent1 (no template)
------ child1 (with template image)
------ child2 (with template image) 
------ child3 (with template image) 

If yes, can i have an example, please?
Thank's
Princy
Top achievements
Rank 2
 answered on 30 Jan 2012
2 answers
301 views
I've read everything I could find about altering the darkness of the "filter" that is applied behind a modal RadWindow.  I've tried several things based on that research but with no success.  Simply put, what I'm getting is shown in the first attachment but what I'd like to achieve is illustrated in the 2nd attachment (the one wrt 'thickbox').

Here's the CSS styles I've been using:

.modalBackgroundRadWindow {
  filter:Alpha(Opacity=95);          /* IE7 and under */
  -ms-filter: "Alpha(Opacity=95)";   /* IE8 */
    -moz-opacity: 0.95;
    opacity: 0.95;
}

.modalBackgroundThickBox {
    background-color:#000;
    filter:alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
}

What do I need to do with the RadWindow to achieve a darker background filter?

Robert
Robert
Top achievements
Rank 1
 answered on 30 Jan 2012
1 answer
89 views
I have gridbound column Col_A and COL_B and dataformat set to currency.Both these columns are integer . I have embeded udpate statement in sqldatasource  to update both these columns. Based on business rule I open only one column for editing before update. 

If COL B is open for update(COL A is read only in this scenario), When I execute update statement COL A is reading the formatted value and passing to SQL staement i.e formatted currency value and this gives database error because COL A is integer type. 
1) How can i get the just the value of COL A (not the formmated one for example , I need 3000 not 3,000). Extravalues in edit mode not working
2) How do i put mask for editable column ,i.e the user can type 5,000 rather than 5000 , but the value read is 5000

Thanks

 
Shinu
Top achievements
Rank 2
 answered on 30 Jan 2012
1 answer
85 views
Hi I'm working with radcontrols for asp.net 2011 q1 and I want to change a the default textbox of grid's editmode to a radcombobox.
How Can I do that?
Jayesh Goyani
Top achievements
Rank 2
 answered on 29 Jan 2012
4 answers
165 views
So i drop down the filter boxes and initiate a filter for Starts With B. I get 25 Results (set to 10 per page).   If I go to page 2 then back to page 1 the filter is no longer applied. 

What is the recommended way to have filter settings persist across page changes?

Thanks,
Michael
Iana Tsolova
Telerik team
 answered on 29 Jan 2012
3 answers
353 views
Hi,

Is there any functionality for columns, similar to the DetailTables for rows, which will allow me to group columns together and through a button press expand\collapse them?

My client has an Excel spreadsheet with 20 columns in it and they want me to replicate the funcationality they have, displaying all the data. I've told them that it'd be too wide for the screen, so they've asked if they can expand\collapse sections of the data (I can logically split it in to 4 separate sections).

Thanks in advance for your help.


Rgds
Liam
Liam
Top achievements
Rank 1
 answered on 28 Jan 2012
5 answers
411 views
Hi,

I bind my grid programmatically during the NeedDataSource event which is in turn a SQLDataSource instance:


protected void grdMyGrid_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
   ((RadGrid)sender).DataSource = sqlDs;
}

From here I’m trying to check if the value of a specific cell match a condition during the ItemCreated event:

protected void grdMyGrid_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
     if (e.Item is GridDataItem)
      {
          var item = e.Item as GridDataItem;
           if (item["ValidationState"].Text == "UNMATCHED")
           {
              item.BackColor = System.Drawing.Color.Red;
              item.ForeColor = System.Drawing.Color.White;
           }
      }
 }

For some reason the value of item[“ValidationState”].Text is always "&nbsp" as so is any other cell I’m trying to access via the UniqueName property. And yes, they are explicitly defined in my markup of the columns.

It is maybe becuase I bind the grid during NeedDataSource and not at design time with the DataSourceID property specified? Or perhaps other suggestion or solutions?

Thanks for you help!

Johan
Top achievements
Rank 1
 answered on 28 Jan 2012
5 answers
191 views
HI,

I have a grid with a footer and a horizontal scrollbar. The scrollbar is appearing in between the last row in my grid and the footer. Is there a way to change this so that the footer appears under the last item in my grid, and then the scroll bar appears below that?

-Anthony
Ryan Eaves
Top achievements
Rank 1
 answered on 28 Jan 2012
2 answers
113 views
I have the following code:

<telerik:RadFacebookButton ButtonType="FacebookLike" Font="Verdana" ShowFaces="False"
    TitleToShare="The Conference Board of Canada"
    UrlToShare="http://www.conferenceboard.ca" Width="40" />
<telerik:RadTwitterButton CounterMode="Horizontal"
    TitleToShare="The Conference Board of Canada"
    UrlToShare="http://www.conferenceboard.ca/" />
<telerik:RadGoogleButton AnnotationType="Bubble" ButtonSize="Medium"
    TitleToShare="The Conference Board of Canada"
    UrlToShare="http://www.conferenceboard.ca/" Width="40" />

And for some reason, the widths I've indicated aren't translating onto the page-- the FB and Google+ buttons have a width of 90, and the twitter button has 110 width. Why is setting the width attribute not working, and besides that, why is it impossible to set the width of the Twitter button?
Thanks in advance!
Dan
Top achievements
Rank 2
 answered on 27 Jan 2012
1 answer
114 views
Hello,
        I am having a Rad Editor. I am populating Custom Links dropdown with my server side code. Now how can I only show Custom Links in my Rad Editor toolbar and no other tools???


HELP!!!!!!!!!!!!
Richard
Top achievements
Rank 1
 answered on 27 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?