Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
180 views
I've looked at the demos and did not see one that shows this - so, is it possible to have a dock that collapses from right to left?
Im trying to create something that would have two panels, side by side. The left one (Panel1) would be an informational panel that the user could pin or collapse and when collapsed the other panel (Panel2) would fill the browser window.
adnan
Top achievements
Rank 1
 answered on 21 Jul 2010
2 answers
76 views
It seems that ToString() is called for every object in datasource with no reason. My problem is that the function is overrided and is time consuming (bad writed).

After some research, i see the line in GridBoundColumn.cs in method OnDataBindColumn
            if (item1.DataItem != null && item1.DataItem.ToString() == "Microsoft.SharePoint.WebControls.SPDataSourceViewResultItem")

I do not known why it is necessary, why not item1.GetType().FullName ?
Tsvetoslav
Telerik team
 answered on 21 Jul 2010
3 answers
1.1K+ views
Hello i am using  Rad grid ..my code is the following
 <Columns>
        <telerik:GridBoundColumn DataField="imgTitle" HeaderText="imgTitle"
            SortExpression="imgTitle" UniqueName="imgTitle">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="imgID" DataType="System.Int32"
            HeaderText="imgID" ReadOnly="True" SortExpression="imgID" UniqueName="imgID">
        </telerik:GridBoundColumn>
          <telerik:GridTemplateColumn DataField="Image" HeaderText="Image"
            SortExpression="Image" UniqueName="Image">
              <ItemTemplate>
                 
                    <img src='<%# Eval("imgFile") %>' id="image1" width="30px" height="50px" />
               
                    
               
                </ItemTemplate>
           
        </telerik:GridTemplateColumn>
    </Columns>



I need to insert Tooltip for each cell in column image to show this text in tooltip " view album"
please help
sam
Top achievements
Rank 1
 answered on 21 Jul 2010
3 answers
219 views
Hello,

Can somebody tell me how do I access an image (html control) inside the TabTemplate from the Server Side?

Thanks
Yana
Telerik team
 answered on 21 Jul 2010
1 answer
131 views
Hi all, I am getting  Only the first record is tooltipified
I  am using radgrid and i have a bound image column  and my code is the following

<telerik:GridTemplateColumn DataField="Image" HeaderText="Image"
            SortExpression="Image" UniqueName="Image">
              <ItemTemplate>
                 
                    <img src='<%# Eval("imgFile") %>' id="image1" width="30px" height="50px" />
                 
                 
                </ItemTemplate>
           
        </telerik:GridTemplateColumn>

I want to Use Radtooltip  or RadTooltipManager  instead of the traditional tooltip
I tried to use Radtooltip first error i get is :

Cannot find a server control with ID=image1. If you need to specify a client-side element ID, please set IsClientID to true.

 I changed IsClientId properties to true

my code is now like this

<ItemTemplate>
                 
                    <img src='<%# Eval("imgFile") %>' id="image1" width="30px" height="50px" />
                  <telerik:RadToolTip ID="RadToolTip2" runat="server" Animation="Slide" TargetControlID="image1" IsClientID="True" >
                   <%#Eval("IMGFILE", "SHOW ALBUM")%>
                
                 </telerik:RadToolTip>

</ItemTemplate>


 Only the first record is tooltipified

please help me and thanks in advance



sam
Top achievements
Rank 1
 answered on 21 Jul 2010
1 answer
64 views
I have a text field, a button and a radgrid on the page.  If without puting ajax on the page, when focus on the text area and hit the enter key, it will hit the Button1_Click1 event, but after I put ajax (I user radajax manager) on the page, when button click only refresh the radgrid, it won't go to the Button1_Click1 event when hit the enter key while focus on the text area.  Why? and how to solve the problem?

Thanks!

Tsvetina
Telerik team
 answered on 21 Jul 2010
1 answer
216 views
Hi,

I have a button on a page directly below my tab strip. The tab strip handles three different pages with forms on them, each with a different set of validators within validation groups. Here is my problem: I would like to have a button check more then a single validation group. As of right now I have it checking the validation on a single group within the tab. If anyone knows the solution, please let me know.

My code is below where addressForm is the validation group for address information. I would also like to have it check another group called "userForm".

btnPageSubmit.ValidationGroup = "addressForm"

Note, I have tried

Protected Sub btnPageSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPageSubmit.Click
        lblResult.Text = Page.IsValid
        Validate("addressForm")
        Validate("userForm")
    End Sub

This solution will submit the page and return that the page IS valid when none of the required fields are filled out.
Yana
Telerik team
 answered on 21 Jul 2010
6 answers
193 views
Hello, guys.
Recently I found that in my application I need a behaviour described in this KB article: http://www.telerik.com/support/kb/aspnet-ajax/splitter/1450-radsplitter-and-radtabstrip-integration-layout.aspx
I tryed to implement the approach and found two things:
1. It doesn't work correctly all the time when you try to play with browser's window size you can find that calculations made wrong (see borders.jpg).
2. If you include
        <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadMultiPage1"  />
                        <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
you won't get correct height at all. It sets it to some fixed value and keeps it unchanged whatever you do.
This all was only tested under Firefox 3.6.3.

Did anybody experienced this and if yes thrn how did you fix it?

With respect, Sergey.
Svetlina Anati
Telerik team
 answered on 21 Jul 2010
1 answer
108 views
Hello,

I was looking to implement notifiication flyout functionality on all of my pages. So the idea is to use wcf service and have a listener on the page that will keep on listening at definite interval or callbacked from the subscriber.

I need functionality very very similar to one displayed  for below link

Notification control vendor's sample

Please help me out if someone knows similar approach using telerik's controls.

Regards
Mac
Sebastian
Telerik team
 answered on 21 Jul 2010
1 answer
95 views

I have a telerik radgrid that is doing an insert using an objectdatasource. The insert method the objectdatasource calls has a boolean return value that I want to check in the radgrid's ItemInserted event.

Is this possible and what is the code to do it. I checked the GridInsertedEventArgs e and there is no way I can see to get the return value but it must be there, I think I am just missing it.

Any help would be appreciated.

Rosen
Telerik team
 answered on 21 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?