Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
233 views
Hi,

I using a DataGrid to display some data and want to set the FilterExpression value, to define a default filter. The filter is applied correct (only row that matches are displayed). However, the filter values are NOT displayed in the filter controls. So the user does not see which filters are applied to the data.
I also tried to set the filter function and value on a per column base with the CurrentFilterFunction and CurrentFilterValue property on a GridColumn, but the values are not reflected in the filter controls either.

Is this a desired behavior or a bug?

lG
Jens
Ramsey Callaway
Top achievements
Rank 1
 answered on 23 Feb 2012
1 answer
51 views
There are some old threads about Expression Web 3 and Telerik controls but does anyone know/use EW4 and T controls?

Thanks
Rumen
Telerik team
 answered on 23 Feb 2012
1 answer
122 views
hi folks,
i've this code:
<telerik:RadListBox ID="lista1" runat="server" Height="230px" Width="250px" TransferToID="lista2" SelectionMode="Multiple"/>
<telerik:RadListBox ID="lista2"  runat="server" Height="230px" Width="250px" SelectionMode="Multiple" />
<asp:Button ID="btnTransferRight" OnClientClick="return trasferisciBoxDestra()" Text=">>"  runat="server" />

where in javascript i've this function:
function trasferisciBoxDestra() { 
            var listbox = $find("<%= lista1.ClientID %>");
            var elemSelezionato = listbox.get_selectedItem();
            if (elemSelezionato == null) {
                alert("Bisogna selezionare almeno un elemento.");
                return false;
            }
            listbox.transferToDestination(elemSelezionato);
            return false;
        }

How can i select different items with control button and send them by "transferToDestination" method pass it an array?
thanks in advance. 
TheFool
Top achievements
Rank 1
 answered on 23 Feb 2012
0 answers
84 views
Hi,
I have a page with tabstrip and multipage control which each holds a user controls

<telerik:RadStrip..>
      <Tabs>
            <telerik:RadTab Text="Image" PageViewID="PageViewImage" ... />
</telerik:RadStrip>

<telerik:RadMultiPage ... .>
<telerik:RadPageView ...>
                 <uc1:ImageChanger id.. />
         </telerik:RadPageView>
</telerik:RadMultiPage>

User Control: ImageChanger.ascx
<script language="javascript" ..>
      function OpenImageChanger(){ 
         ...
         // Opens a rad window.. 
        oWindow.add_close(RefreshImage)
      }
   
     function RefreshImage(){
$find("<%= AjaxPanelID.ClientID %>").ajaxRequest('');
    }
</script>
<telerik:RadAjaxPanel ... OnAjaxRequest="Imager_AjaxRequst" ..
           <asp:Image id="ImgCover" runat="server" ImageUrl="default.jpg" />
</teleirk:RadJaxPanel>
<input type="button" onclik="OpenImageChanger()" />

Code Behind: ImageChanger.ascx.cs
protected void Imager_AjaxRequest(object sender, AjaxRequestEventArgs e){
imgCover.ImageUrl = newImage
}


I have put a break point and I do see that the AjaxRequest Event is executed but nothing really changed at the client side.  The Image was still at default.  Also I followed the same approach where another tab and another user control which has treeview.  That treeview didn't get updated as well.  Please advise if I am missing anything since it's being a road block for me to go further.  

Thanks,


Ravi
Top achievements
Rank 1
 asked on 23 Feb 2012
1 answer
123 views
More Updates in this regard:

I have attached one more screenshot to know about the pointshape settings. I have predefined the shape in the designmode as shape=Triangle. Inside code-behind, I set the shape=star3. Before this statement, it was shape=Ellipses (supposed to be Triangle). After this statement, it is shape=star3. But none of the scenario/code impacts the shape of the bubbles. Means, it remains in the ellipse shape.

As far as the #2 issue which I mentioned in the previous mail, I made gray gradiant background to solve this issue temporarily.

Please let me know if there is any updates/improvement,

Regards
Sia
Telerik team
 answered on 23 Feb 2012
5 answers
80 views

I have a number of RdToolTips within 2 RadListView's on a page.

When i drag one element from one RadListView to the other RadListView the RadToolTips keep showing up on mouse hover (as expected on hover).

How can i in Javascript disable all the RadToolTips on the page when OnItemDragStarted client event for RadListView. Thus stopping the RadToolTips from showing up upon hover only when im dragging an element from one RadListView to another.

Any help would be greatly apreciated.

Svetlina Anati
Telerik team
 answered on 23 Feb 2012
7 answers
172 views
I'm binding a rad grid with a sql data source and it's working fine except for my gridcheckbox column. What type does the db column have to be for it to bind automatically. I've tried bit, and nvarchar with true/false?
Casey
Top achievements
Rank 1
 answered on 23 Feb 2012
1 answer
77 views
I'm taking a list of directions and merging it with another list of directions and adding those directions to a panel bar to step through them using a Previous Next button.

the first set of directions are built Client side, the second set comes from the server. The are merged client side.

the Server side directions start out in the panel bar.

the I take the directions out of the panel bar, Clear the panel bar, Build the Client Side Directions into an array, then take the Server side directions and add them to the array, iterate over the array and add each item(step) back to the panel bar.

At this point, The Server side directions are Disabled, i can't focus on them, i can click on them and get the expected outcome other than the highlight, and list position state persistance. (if the list is large the focus doesn't bring the list into view)

I've traced it back to clearing the panel Bar, if I don't clear it.. all the items work as expected. when I clear the panel bar I get the disabled Panel Bar items.

is there a better way to do this?


Peter
Telerik team
 answered on 23 Feb 2012
1 answer
380 views

I have a RadGrid that needs to have dynamic DataSource. The grid will have an A to Z index, where only names started by selected alphabeth is displayed.

When the grid is first loaded, the datasource is by default:

<asp:LinqDataSource ID="ldsMember" ContextTypeName="RedBuckDataContext" TableName="RB_Members" OrderBy="FIFOType" runat="server" />

It loads fine, I can edit, insert and delete columns with no problems.

When an A-Z linkbutton is clicked, the grid's datasource is changed:

                using (RedBuckDataContext rbdc = new RedBuckDataContext())
                {
                    var member = (from m in rbdc.RB_Members
                                  where m.Name.StartsWith(lbAlp.CommandArgument)
                                  select m);

                    rgMember.DataSource = member.ToList();
                }

        rgMember.DataSourceID = null;
        rgMember.DataBind();

The grid displays only data starated with the selected alphabeth, which is good!

The problem is, when I click "Edit" to modify the data, the grid does not display anything. The rows displayed were gone. It is like the datasource has been resetted.

Can anyone please help me on this?

Cheers,

Andry

Tsvetina
Telerik team
 answered on 23 Feb 2012
4 answers
92 views
Hi,

I would like to know if pagination of long magazine articles is possible in RAD editor. Where pages splits it coud say "Read Netx>>>"
Thank you,
-khan
Rumen
Telerik team
 answered on 23 Feb 2012
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?