Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
When i select month and year and press OK ,it shows false for 1 sec and disappears.i don't want that false to appear.

Here is code.

<telerik:RadMonthYearPicker ID="rdp_CompletionDate1" runat="server" DateInput-DateFormat="yyyy/MM">
           <DateInput ID="DateInput1" runat="server" DateFormat="yyyy/MM/dd" DisplayDateFormat="yyyy/MM">
                <ClientEvents OnValueChanging="MyValueChanging" />
          </DateInput>
</telerik:RadMonthYearPicker>

Please Suggest.


Konstantin Dikov
Telerik team
 answered on 23 May 2014
1 answer
181 views
I am trying to use RadDataPaged as a seprated control  in the role of the navigation of my web pages so I just have the RadDataPager and its fields and a label that in Paer template. I need to find that table text but the problem is when I am using Label lbl=RadDatapager1.FindControl("Label1") as Label in Page_load  codes it returns null. I don't  know what should I do? Please help...
Princy
Top achievements
Rank 2
 answered on 23 May 2014
2 answers
132 views
I am trying to place 3 HTMLChart side by each on the 800px wide page.  Is there an easy way to reduce the size of the controls?  I have set the height and width but I find that the information displayed also needs to be reduced.

Thanks, Dan
Danail Vasilev
Telerik team
 answered on 23 May 2014
2 answers
177 views
Hello,

We are switching from Subversion to Git. In Subversion, it was no big deal storing the .tdf file for deployment purposes, but in Git that's a huge pain / no-no.

We're also using NuGet so we don't store Telerik binaries, but apparently the NuGet packages do not restore the .tdf file(s) when added. 

What are people's best practices in this case? Any suggestions would be appreciated.
Marin Bratanov
Telerik team
 answered on 23 May 2014
2 answers
413 views
I have a piechart, binding data from a storedprocedure. I am getting 2 columns  one is Age and BusinessTotal. Based on Age column data, Color should be showed. Please let me know how to accomplish this.

<telerik:RadHtmlChart runat="server" ID="RadHtmlChart3" Width="300" Height="300" Transitions="true">
                    <Appearance>
                         <FillStyle BackgroundColor="White"></FillStyle>
                    </Appearance>                  
                    <Legend>
                         <Appearance BackgroundColor="White" Position="Right" Visible="false">
                         </Appearance>
                    </Legend>
                    <PlotArea>
                         <Appearance>
                              <FillStyle BackgroundColor="White"></FillStyle>
                         </Appearance>
                         <Series>
                              <telerik:PieSeries DataFieldY="BusinessTotal"  StartAngle="90" >
                                   <LabelsAppearance Visible="false" Position="InsideEnd" DataFormatString="{0:N0}">
                                   </LabelsAppearance>
                                   <TooltipsAppearance Color="White"  DataFormatString="{0:N0}"></TooltipsAppearance>
                         

Databinding : C#
protected void GetBusinessData(string metricName)
        {
                SqlCommand cmdProc = new SqlCommand("[oss].[SelectSalespersonBusinessAge]", SqlConnection);
                cmdProc.CommandType = CommandType.StoredProcedure;
                cmdProc.Parameters.AddWithValue("@LoginName", loginName);
                cmdProc.Parameters.AddWithValue("@MetricYear", metricYear);
                cmdProc.Parameters.AddWithValue("@MetricMonth", metricMonth);

                SqlDataAdapter adp = new SqlDataAdapter();
                adp.SelectCommand = cmdProc;
                adp.Fill(dt);
                RadHtmlChart3.DataSource = dt;
                RadHtmlChart3.DataBind();
                if (dt.Rows[0]["age"].ToString() == "7-12 Months")
                {
                  //Yellow color should be assigned for this part
                  
                }
                if (dt.Rows[1]["age"].ToString() == "12+ Months")
                {
                   //REd for this
                }              
}
Danail Vasilev
Telerik team
 answered on 23 May 2014
2 answers
103 views
Hi,

I am exporting a Grid with images to html. The images are replaced with the url. I have already searched on internet and on Telerik forums if there is any way to show those images in my html, but I could not find a solution. Is it possible?

Regards,
Zaheer
Daniel
Telerik team
 answered on 23 May 2014
2 answers
255 views
I've implemented RadComboBox Load on Demand functionality using the WCF Web Service. This service works fine with the http configuration settings. We now want to make our application secure (https). Please see the  web.config settings and the error message below. 

Web.config Settings:

<system.serviceModel>
            <behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpsGetEnabled="true" httpsGetUrl="" />
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
                  <endpointBehaviors>
                        <behavior name="MyProject.WCFClientsAspNetAjaxBehavior">
                              <enableWebScript/>
                        </behavior>
                  </endpointBehaviors>
            </behaviors>
            <serviceHostingEnvironment aspNetCompatibilityEnabled="true">
                  <baseAddressPrefixFilters> 
                                <add prefix="https://www.MySite.com"/>
                </baseAddressPrefixFilters>
            </serviceHostingEnvironment>
            <services>
                  <service name="MyProject.WCFClients" >
<endpoint address="" 
                                                       binding="basicHttpBinding" 
                                                       bindingConfiguration="TransportSecurity" 
                                                      contract="MyProject.WCFClients"/>
                  </service>          
            </services>
            <bindings>
   <basicHttpBinding>
<binding name="TransportSecurity">
<security mode="Transport">
<transport clientCredentialType="None" />
</security>
</binding>
</basicHttpBinding>

Error message:

Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].<br/>System.ServiceModel.ServiceActivationException: The service '/MyProject/WCFClients.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].. ---> System.InvalidOperationException: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].

Appreciate any suggestions in resolving this issue!!
Dimitar Terziev
Telerik team
 answered on 23 May 2014
1 answer
86 views
Hi ,

We are currently using RadEditor in our project.  We customized the Toolbars by removing some tools. I knew that adding or removing tools will automatically disable the built-in context menus. So I added the context menus manually. It worked fine on text that was directly typed into RadEditor. However, if we copied some text from other files and pasted it into RadEditor, the context menu did not show copy, cut and paste menu items when you right-click on the copy-paste text after highlighting. (Cut, Copy and Paste functions on Toolbars and Key board still work well ). After researching, I have learned that the context menus of RadEditor had some issue with IE8 and the issue could be resolved by installing Telerik 2014 Q1 SP1. We did that today but the problem still remains  (copy, cut and paste didn't show up  on context menu on the text that was copied and pasted into RadEditor). I spend some days try to figure out the reason but failed to get right answer (I remember one or two telerik team member said that issue  related privilege/Security. but can we avoid security checking or bypass this privilege be certain way?) . Could anyone have any suggestion?

Thanks in advance.
Ianko
Telerik team
 answered on 23 May 2014
3 answers
635 views
Suppose I have a RadGrid, such as the one in your demo, here: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx.

If I type liz in the Contact name filter box, and select Contains from the filter drop down, I get the three people in the list whose names contain the letters "liz". Pretty obvious.

Now, if I type liz and lin in the Contact name filter box, and select Contains from the filter drop down, I get an empty list, because no names in the list contain the string "liz and lin". Also, not too surprising.

But, if I type liz AND lin in the Contact name filter box (note the upper case AND), and select Contains from the filter drop down, the list contains the full set of names again. This also happens if I enter liz OR lin.

It appears that the RadGrid is trying to treat the uppercase strings AND and OR as a boolean operator, failing, and then punting and returning the entire list. Whatever the reason, this is causing us problems. Our users tend to copy and paste stuff into the filter box, and it is often in upper case, and it sometimes has the word AND or OR in the copied string. This causes the application to behave unexpectedly for them, and leads to complaints.

I haven't been able to find any way to turn this behavior off. Do you have any suggestions?

Thanks for any help.
-Ken
Eyup
Telerik team
 answered on 23 May 2014
1 answer
162 views
Here is the scenario. I have a bound table (batch edit)with 1 dropdown control in the grid.
Depending on which item is selected in the dropdown grid, certain cells are to be either enabled or disabled.
How do I do that?
Eyup
Telerik team
 answered on 23 May 2014
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?