Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
60 views

Hi

BinaryImage doesn't resize after change ImageUrl image instead previous  BinaryImage or image with  ImageUrl when ResizeMode="Fit"

Please fix this.

mastermehdi
Top achievements
Rank 2
 asked on 11 Sep 2012
1 answer
490 views
Hello,

Its very urgent.

I have 2 radlistbox in radpageview.
Definition is as below:

<telerik:RadPageView ID="rpvAssignProcess" runat="server">
 <table cellpadding="0" cellspacing="0">
 <tr>
 <td>Available Process</td>
 <td>Assign Process</td>
 </tr>
<tr>
<td>
    <telerik:RadListBox ID="rlboxAvailableProcess" runat="server" AllowTransfer="True" 
        DataSourceID="SqlDataSource_Process" DataTextField="ProcessName"   Skin="WebBlue" 
        TransferToID="rlboxAssignProcess" Height="200px" Width="300px" DataValueField="ProcessName"  
        >
        <ButtonSettings TransferButtons="All" />
        <ItemTemplate>
                <div>
                    <span style="float:left;padding:10px">
                        <%# DataBinder.Eval(Container.DataItem, "CustomerID")%>
                   <br />
                        <%# DataBinder.Eval(Container.DataItem, "ProcessName")%>
                    </span>
                </div>
            </ItemTemplate>
            
  
        <WebServiceSettings>
            <ODataSettings InitialContainerName="">
            </ODataSettings>
        </WebServiceSettings>
    </telerik:RadListBox>
      
    </td>
<td>
 <telerik:RadListBox ID="rlboxAssignProcess" runat="server" AllowDelete="false" AllowReorder="true" 
         Skin="WebBlue" Height="200px" Width="300px" DataSourceID="SqlDataSource_Process1"
         DataTextField="ProcessName" DataValueField="ProcessName">
        <ButtonSettings Position="Right" VerticalAlign="Top" />
            
</telerik:RadListBox>
  
  
 </td>
</tr>
  </table>
    
</telerik:RadPageView>

Code behind code:

Protected Sub RadTabStrip1_TabClick(sender As Object, e As Telerik.Web.UI.RadTabStripEventArgs) Handles RadTabStrip1.TabClick
  
        If RadTabStrip1.SelectedIndex = 4 Then
            Try
                Dim CustomerID As String = ""
                For Each item As GridDataItem In rgView1.MasterTableView.Items
                    If item.Selected = True Then
                        If CustomerID = "" Then
                            CustomerID = item.Item("CustomerID").Text
                        Else
                            CustomerID += "','" + item.Item("CustomerID").Text
                        End If
                    End If
                Next
                SqlDataSource_Process.SelectCommand = "SELECT CustomerID,ProcessName FROM tbl_Process where CustomerID IN ('" & CustomerID & "')"
                rlboxAvailableProcess.DataBind()
            Catch ex As Exception
  
            End Try
        End If
  
    End Sub

It shows multicolumn in first radListbox with values CustomerId, ProcessName. Also i can transfer it to second radlistbox. I tried to transfer data from second to first radlistbox. Data is transfering but it is not visible, transfered row in first listbox is not visible properly. Why it happens? Guide me

Jayanthi
Princy
Top achievements
Rank 2
 answered on 11 Sep 2012
1 answer
114 views
hello,

i would to know how i'm hide the chart label "Series xx" from the chart and how can i positioning this label (without hide it) to the buttom
Princy
Top achievements
Rank 2
 answered on 11 Sep 2012
4 answers
230 views
My code :

<telerik:RadGrid ID="RadGridOrder" ShowStatusBar="true" runat="server" OnNeedDataSource="RadGridOrder_NeedDataSource"
                        OnItemDataBound="RadGridOrder_ItemDataBound" Width="100%" AutoGenerateColumns="False"
                        AllowMultiRowSelection="False" GridLines="None" AllowAutomaticUpdates="True"
                        OnItemUpdated="RadGridOrder_ItemUpdated" EnableViewState="true" OnEditCommand="RadGridOrder_ItemEdit"
                        OnDataBound="RadGridOrder_DataBound" OnItemCommand="RadGridOrder_ItemCommand">
                        <ClientSettings EnableRowHoverStyle="true" AllowColumnsReorder="false" ReorderColumnsOnClient="true">
                            <Selecting AllowRowSelect="True" />
                            <Resizing EnableRealTimeResize="false" ResizeGridOnColumnResize="false" AllowColumnResize="false">
                            </Resizing>
                        </ClientSettings>
                        <MasterTableView Width="100%" DataKeyNames="OrderSubOrderID" ExpandCollapseColumn-ButtonType="ImageButton"
                            EditMode="InPlace" ExpandCollapseColumn-CollapseImageUrl="Img/minus.png" ExpandCollapseColumn-ExpandImageUrl="Img/Plus.png">
                            <DetailTables>
                                <telerik:GridTableView ShowHeadersWhenNoRecords="false" HorizontalAlign="Right" BorderWidth="1px"
                                    EnableNoRecordsTemplate="" Width="80%" runat="server">
                                    <ParentTableRelation>
                                        <telerik:GridRelationFields DetailKeyField="OrderSubOrderID" MasterKeyField="OrderSubOrderID" />
                                    </ParentTableRelation>
                                    <Columns>
                                        <telerik:GridBoundColumn HeaderText="ShippingStatus" DataField="Status" UniqueName="ShippingStatus">
                                        </telerik:GridBoundColumn>
                                        
                                        <telerik:GridBoundColumn HeaderText="textShipDate" DataField="ShippedOn" DataFormatString="{0:MM/dd/yyyy}"
                                            UniqueName="Timestamp">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn HeaderText="Quantitystr" DataField="Quantity" UniqueName="quantity">
                                        </telerik:GridBoundColumn>
                                    </Columns>
                                </telerik:GridTableView>
                            </DetailTables>
                            <Columns>
                                <telerik:GridEditCommandColumn ButtonType="ImageButton" ItemStyle-Width="25" HeaderStyle-Width="25" />
                                <telerik:GridTemplateColumn HeaderText="ExternalItemstr" UniqueName="SKU">
                                    <ItemTemplate>
                                        <%#Eval("SKU")%>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtCouponCode" runat="server" Text='<%#Eval("SKU")%>'
                                            Width="95" />
                                    </EditItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridBoundColumn HeaderText="txtQuantityOrdered" DataField="Quantity" UniqueName="OrderedQuantity">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="txtQuantityShipped" DataField="Shipped 
Quantity" UniqueName="ShippedQuantity">
                                </telerik:GridBoundColumn>
                            </Columns>
                        </MasterTableView>
                        <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
                        </ClientSettings>
                    </telerik:RadGrid>

Screen Short: please check attachment.

Please let me know if any one know solution.


 

Shinu
Top achievements
Rank 2
 answered on 11 Sep 2012
1 answer
96 views
I am looking at an example on how to add new entries using javascript. 

Thanks. Randy
Kalina
Telerik team
 answered on 11 Sep 2012
4 answers
1.4K+ views
I am trying to set up a RadAutoCompleteBox that pulls the current list of items from a data source and allows the user to add and remove from that list. So far in all of the examples I've seen, I can set the DataSourceID, DataTextField, and DataValueField to allow the user to add entries to the box, but I don't see a built-in way to start the RadAutoCompleteBox with entries in it.

For example, a RadComboBox used in a form can use SelectedIndex='<%#Bind("Field")%>' to select an item in the combo box 
using the parent form's data object. I would like to do something like that in the AutoCompleteBox and pass in a string of SelectedValues or something like that. Is that possible?

<telerik:RadAutoCompleteBox runat="server" ID="people"
    AllowCustomToken="true" InputType="Token"
    DataSourceID="dsPeople" DataTextField="Name" DataValueField="ID">
</telerik:RadAutoCompleteBox>
Sypher
Top achievements
Rank 1
 answered on 10 Sep 2012
1 answer
86 views
I'm attempting to use the tabcontrol/pageview combo to serve pages from a site on a different server (same network). It doesn't seem to work correctly in Google Chrome (ver 21.0.1180.89 m) or IE9 on win7.  I've tested in IE8 on windows server 2008 and it works.

Now, the remote site is running a 3rd party application that runs in IIS and accesses data from our mainframe.  The page that serves up the responses from the application is a classic ASP page.  It's difficult for me to provide any more detail than that since I don't really know how it works.  But the behavior is this - the first "page" loads without a problem.  As soon as I try to navigate away from that entry page, I get a blank screen and the server hangs (the 3rd party server, not the web server).

I think this is a shot in the dark here since it's a very unique situation and I doubt there will be anyone familiar with it exactly but I'm hoping someone has had similar issues with using the tab/pageview controls and may have run into similar problems and could offer me a few things to try.  I'm also going to contact the software vendor to see what they can tell me.  As far as I can tell, though, it's browser-related at least somewhat which leads me to believe it may have something to do with cross-site security.

If you want more info, I can provide it.

Thanks.
dino
Top achievements
Rank 1
 answered on 10 Sep 2012
6 answers
139 views
If I have a large list of assignments or orders in my SQL database, is there a way to present the logged-in user with only those which are his or hers, by default when they land on the page?  Or, I know there IS a way... But can someone give me explicit details on how to accomplish this?

Thank you  so much.
Casey
Top achievements
Rank 1
 answered on 10 Sep 2012
5 answers
210 views
Hello
I have a Grid and I am trying to use an Image button for delete. But the Image is not being displayed. I have set enable theamiing to flase but It doesnt help. Below is the code

 

 

<telerik:RadGrid ID="NotifyGrid" runat="server" AutoGenerateColumns="False" CellSpacing="0"
                                GridLines="Horizontal" ShowStatusBar="false" ShowFooter="false" AllowPaging="True"
                                AllowFilteringByColumn="True" AllowSorting="True" 
                                EnableEmbeddedSkins="False" Skin="AlSkin" EnableTheming="False">
                                <GroupingSettings CaseSensitive="False" />
                                <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                                    <Resizing AllowColumnResize="True" />
                                </ClientSettings>
                                <MasterTableView UseAllDataFields="true">
                                    <CommandItemSettings ExportToPdfText="Export to PDF" />
                                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                                    </ExpandCollapseColumn>
                                    <Columns>
  
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmText=""
                                            ConfirmTitle="" ConfirmDialogType="RadWindow" UniqueName="delete_notification" 
                                            ImageUrl="Images/DeleteRedResized.png" ShowSortIcon="false" SortExpression="">
                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Top" Width="4%" />
                                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" Width="4%" />
                                        </telerik:GridButtonColumn>
Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Sep 2012
3 answers
327 views
Hello everyone.
Currently when you want to edit a row in a radgrid, press the Edit button (with GridEditCommandColumn), but this control is only to enable editing of a single row (where I pressed edit).
My question is: Is there a way to press a button outside the radgrid and enable all rows in the radgrid and not just one?
thank you very much

Layo
Top achievements
Rank 1
 answered on 10 Sep 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?