Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
676 views
Hi,
I have a radcombobox inside radgrid. On Add new record I created only a insert template of multi column combo box(containing columns like  main rad grid). I can select a single row in combo box. Now I need to populate all the other column values of main rad grid from the selected row values of combo box. how can we do this in client side. What is the best approach for this. 
Jayesh Goyani
Top achievements
Rank 2
 answered on 21 Sep 2012
5 answers
138 views
Sorry for what is likely a repeat of past threads, but in spite of looking through the forum, I can't seem to get this to work.  I have 2 listboxes, the "source" listbox is databound to a LINQ query and I want to be able to transfer items to a second listbox.  In spite of (I think) carefully following the past examples, I can't get it working.  The "transfered" event on the source doesn't appear to be firing at all, and when I attempt to do a transfer even of a single item, both listboxes wind up empty.  I'd be very veryyyyyyy grateful for any guidance.  My listboxes are defined as such:
<div class="left">
        <telerik:RadListBox ID="ticketListbox" runat="server"
         ItemPlaceholderID="TicketContainer"
            EnableViewState="False"  Font-Names=""Helvetica 65 Medium",Arial,sans-serif"
            Font-Size="Medium" ForeColor="#C36029" Width="275px" AllowTransfer="True"
              TransferToID="splitListbox" AutoPostBackOnTransfer="True"
              SelectionMode="Multiple" ontransferred="ticketListbox_Transferred">
             
<ButtonSettings TransferButtons="All"></ButtonSettings>
             
            <ItemTemplate>
       <table style="font-family: Arial, Helvetica, sans-serif;  font-size: medium; color: #C36029">
       <td>
        <%#Eval("Quantity")%>
       </td>
       <td>
        <%#Eval("Name")%>
       </td>
        <td>
        <%#Eval("Price","{0:c}")%>
       </td>   
       </table>              
       </ItemTemplate>      
        </telerik:RadListBox>
        </div>
 
        <div class="centerElements">
          <telerik:RadListBox ID="splitListbox" runat="server"
            ItemPlaceholderID="splitContainer"
            EnableViewState="False"  Font-Names=""Helvetica 65 Medium",Arial,sans-serif"
            Font-Size="Medium" ForeColor="#C36029" Width="275px" AllowTransfer="False"
                 >
          
<ButtonSettings TransferButtons="All"></ButtonSettings>
          
               <ItemTemplate>
       <table style="font-family: Arial, Helvetica, sans-serif;  font-size: medium; color: #C36029">
       <td>
        <%#Eval("Quantity")%>
       </td>
       <td>
        <%#Eval("Name")%>
       </td>
        <td>
        <%#Eval("Price","{0:c}")%>
       </td>   
       </table>              
       </ItemTemplate>          
          </telerik:RadListBox>
          </div>

And my code behind is as follows:
protected void Page_Load(object sender, EventArgs e)
        {
            if (!User.Identity.IsAuthenticated)
            {
                Response.Redirect("http://localhost:64501/LogOn.aspx");
 
            }
            if (!Page.IsPostBack)
            {
                ticketListbox.DataBind();
                splitListbox.DataBind();
            }
 
            
        }
 
        protected void Button1_Click(object sender, EventArgs e)
        {
            CaffeBravoContext tc = new CaffeBravoContext();
            int tableNo = System.Convert.ToInt16(tableTextbox.Text);
            var table = from t in tc.Tickets
                        where (t.Table==tableNo)&&
                        (t.Closed_==false)                       
                        select t;
 
            if (table.Count()==0)
            {
                statusLbl.Text="There is no open ticket for that table!";
            }
            else
            {
                var tickets = from d in tc.Ticket_Details
                              where d.Ticket_ == table.FirstOrDefault().Ticket_Number
                              select d;
               
 
                ticketListbox.DataSource = tickets.ToList();               
                ticketListbox.DataBind();
            }
        }
 
        protected void ticketListbox_Transferred(object sender, RadListBoxTransferredEventArgs e)
        {
            foreach (RadListBoxItem item in e.Items)
            {
 
                item.DataBind();
 
            }
        }
 
       
 
        
 
        
    }
}
Paul
Top achievements
Rank 1
Iron
 answered on 21 Sep 2012
2 answers
135 views
Hello guys,

Sometimes when I open the spell checker appear a small black boxes on the form, do You have any idea?
Attached you will find how the form looks, those boxes appear on le leftside of all buttons, Ignore, Ignore all, Add custom and so on.

No matter what explorer I use, these appear IE7,IE8,IE9, Chrome.

Thanks in advance.


Regards.
Cesar
Top achievements
Rank 1
 answered on 21 Sep 2012
5 answers
202 views
Hello,
I used the RadFileExplorer in a Panel for ModalPopup. It works good. When I clicked by the Upload button, then the Upload Dialog is not in front from the FileExplorer. How can I solve this problem?

Thanks
Reiner
Vessy
Telerik team
 answered on 21 Sep 2012
3 answers
192 views
http://www.telerik.com/support/kb/aspnet-ajax/menu/mega-drop-down-menu-bind-to-xml-datasource.aspx

The above is what I'm working from. I am noticing that "alt" nor "title" are showing up for my URL's from my XML file that I have the urls contained in and the menu reading from. Are there any known options for this?

Also is there way to differentiate if a sub menu only has 1 column link to display as a 1 column sub menu opposed to 2 (how I currently have it setup). I tried setting it through the style sheet but once it posts back it extends to 2 column. 

 

 

 

 

 

.Item1 .rmSlide
{
left: 695px !important;
max-width: 200px !important;
min-width: 200px !important;
}


 
Boyan Dimitrov
Telerik team
 answered on 21 Sep 2012
0 answers
122 views
*One last edit, I fixed this by putting a web.config in my bin folder that allows anonymous users.

*Edit from original post. So I think I know the problem, I just don't know how to fix it. The root of my website is not accessible to the public, however, I have a folder within here that is. I can't get any rad controls to work within this public folder. I'm guessing it can't access files that it needs to. However, I can't rework everything into different folders at this point. Is there any way around this?

I have a date picker inside of an asp.net wizard. It is not working at all when you click the calendar. I'm doing nothing on the back end for the wizard besides binding custom headers as of right now. You can see it here http://rowe.intellicomweb.com/Customers/CustomerReservation.aspx 

Here is my front end code.
<asp:Wizard ID="registrationWizard" runat="server" Width="95%" DisplaySideBar="false" >
        <StartNextButtonStyle CssClass="buttonClass" />
        <CancelButtonStyle CssClass="buttonClass" />
        <NavigationButtonStyle CssClass="buttonClass" />
        <WizardSteps>
            <asp:WizardStep Title="Select A Date" StepType="Start">
                <div class="wizardContent">
                    <h4>Please select a date and time</h4>
                    <telerik:RadDatePicker ID="RadDatePicker1" runat="server"></telerik:RadDatePicker>
                    <telerik:RadComboBox ID="amPmDrop" runat="server">
                        <Items>
                            <telerik:RadComboBoxItem Value="AM" Text="Morning" />
                            <telerik:RadComboBoxItem Value="PM" Text="Evening" />
                        </Items>
                        <CollapseAnimation Duration="3000" Type="InBounce" />
                    </telerik:RadComboBox>
                </div>
            </asp:WizardStep>
            <asp:WizardStep Title="Information" StepType="Step">
                Information
            </asp:WizardStep>
            <asp:WizardStep Title="Billing" StepType="Step">
                Billing
            </asp:WizardStep>
            <asp:WizardStep Title="Review" StepType="Finish">
                Final
            </asp:WizardStep>
        </WizardSteps>
        <HeaderTemplate>
            <ul id="wizHeader">
                <asp:Repeater ID="wizardHeaderRepeat" runat="server">
                    <ItemTemplate>
                        <li>
                            <a class="<%# GetClassForWizardStep(Container.DataItem)%>" title="<%# Eval("Name")%>"><%# Eval("Name")%></a>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </HeaderTemplate>
    </asp:Wizard>
Web Services
Top achievements
Rank 2
 asked on 21 Sep 2012
4 answers
122 views
So, I have 2 comboboxes in a sort of master/detail scenario.  The "detail" combobox is losing it's selected item, but only in one case as far as I can see.  In other words, if the Master selection is say A,B or C... the Detail combobox is fine, but if the Master selection is D, the Detail combobox resets to the first item (I think as soon as it loses focus).  Any thoughts?


EDIT: OK, narrowed it down some although still wierdddddddd.  In the index changed event, I'm handling a UI feature, basically setting an element's visibility based on the value of a property in the selected item.  And if that "if" is true, the element is set visible and the selected item resets.  Enough for today...

EDIT, AGAIN:  OK, so it isn't the UI update that's causing it.  Somehow the value of this property in the dataset is the key but not anything that's set because of it.  Maybe the two LINQ queries are interacting in some bizaare way.  Tomorrow's another day...
Ivana
Telerik team
 answered on 21 Sep 2012
1 answer
38 views
Hello Friends I want to show ScannedDate at X Axis but its throwing error can any one suggest me how to show ScannedDate X Label and Name at Y Label

SELECT TOP 1000 [ShopId]
      ,[Name]
      ,[ScannedDate]
      ,[TotalSlipsScanned]
      ,[ScannedDay]
  FROM [EPOSShopScreen].[dbo].[vw_NoOfBetScanned]


<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <telerik:RadChart ID="radChartNoOfBetScanned" runat="server"
            Skin="DeepBlue" Width="900px" Height="500px"
            DataSourceID="edsNoOfBetScanned" >
            <ClientSettings EnableZoom="false" ScrollMode="XOnly" XScale="4" />
            
            <Appearance>
                <FillStyle FillType="ComplexGradient">
                    <FillSettings>
                        <ComplexGradient>
                            <telerik:GradientElement Color="26, 120, 179" />
                            <telerik:GradientElement Color="35, 189, 254" Position="0.5" />
                            <telerik:GradientElement Color="26, 120, 179" Position="1" />
                        </ComplexGradient>
                    </FillSettings>
                </FillStyle>
                <Border Color="0, 66, 110" Width="5" />
            </Appearance>
            <Series>
                <telerik:ChartSeries DataLabelsColumn="Name" DataXColumn="ScannedDay"
                    DataYColumn="TotalSlipsScanned" Name="TotalSlipsScanned">
                    <Appearance>
                        <FillStyle FillType="ComplexGradient">
                            <FillSettings>
                                <ComplexGradient>
                                    <telerik:GradientElement Color="213, 247, 255" />
                                    <telerik:GradientElement Color="193, 239, 252" Position="0.5" />
                                    <telerik:GradientElement Color="157, 217, 238" Position="1" />
                                </ComplexGradient>
                            </FillSettings>
                        </FillStyle>
                        <TextAppearance TextProperties-Color="White">
                        </TextAppearance>
                    </Appearance>
                </telerik:ChartSeries>
            </Series>
            <Legend>
                <Appearance Dimensions-Margins="1px, 2%, 12%, 1px">
                    <ItemTextAppearance TextProperties-Color="White">
                    </ItemTextAppearance>
                    <FillStyle GammaCorrection="False" MainColor="37, 255, 255, 255">
                    </FillStyle>
                    <Border Color="76, 255, 255, 255" />
                </Appearance>
                <TextBlock>
                    <Appearance Position-AlignedPosition="Top" TextProperties-Color="LightSkyBlue">
                    </Appearance>
                </TextBlock>
            </Legend>
            <PlotArea>
                <XAxis>
                    <Appearance Color="98, 183, 226" MajorTick-Color="98, 183, 226">
                        <MajorGridLines Color="98, 183, 226" Width="0" />
                        <TextAppearance TextProperties-Color="White">
                        </TextAppearance>
                    </Appearance>
                    <AxisLabel>
                        <Appearance Dimensions-Paddings="1px, 1px, 10%, 1px">
                        </Appearance>
                        <TextBlock>
                            <Appearance TextProperties-Color="LightSkyBlue">
                            </Appearance>
                        </TextBlock>
                    </AxisLabel>
                </XAxis>
                <YAxis>
                    <Appearance Color="98, 183, 226" MajorTick-Color="98, 183, 226"
                        MinorTick-Color="98, 183, 226">
                        <MajorGridLines Color="120, 209, 248" />
                        <MinorGridLines Color="120, 209, 248" Width="0" />
                        <TextAppearance TextProperties-Color="White">
                        </TextAppearance>
                    </Appearance>
                    <AxisLabel>
                        <TextBlock>
                            <Appearance TextProperties-Color="LightSkyBlue">
                            </Appearance>
                        </TextBlock>
                    </AxisLabel>
                </YAxis>
                <Appearance Dimensions-Margins="19%, 90px, 12%, 9%">
                    <FillStyle MainColor="50, 255, 255, 255" SecondColor="Transparent">
                    </FillStyle>
                    <Border Color="97, 180, 223" />
                </Appearance>
            </PlotArea>
            
            <ChartTitle>
                <Appearance Dimensions-Margins="4%, 10px, 14px, 6%">
                    <FillStyle MainColor="">
                    </FillStyle>
                </Appearance>
                <TextBlock Text="Total Slips Scanned Last 30 Days">
                    <Appearance TextProperties-Color="White" TextProperties-Font="Verdana, 14pt">
                    </Appearance>
                </TextBlock>
            </ChartTitle>
        </telerik:RadChart>
    </ContentTemplate>
</asp:UpdatePanel>
<asp:EntityDataSource ID="edsNoOfBetScanned" runat="server" ConnectionString="name=EPOSShopScreenEntities"
    DefaultContainerName="EPOSShopScreenEntities" EntitySetName="vw_NoOfBetScanned">
</asp:EntityDataSource>
Petar Kirov
Telerik team
 answered on 21 Sep 2012
2 answers
122 views
I have a master page with multiple content pages. The master page contains a radcombobox with checkbox, as soon as the checkbox is checked page reloads and based on the dropdown data and activities shows up on the content pages.
The above procedure works on all the content pages, except one. Here as soon as the checkbox is checked or unchecked. It remains checked always and nothing happens on the page.

It looks like an AJAX issue but not sure.
Could someone please help me with this.
Thanks,
Ruby
Top achievements
Rank 1
 answered on 21 Sep 2012
2 answers
72 views
I wan't to know if is possible keep the window open on the same position without postback, when the user change the page on a master page, like a facebook chat... if this is possible, how can i do this? Thanks!
Plinio
Top achievements
Rank 1
 answered on 21 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?