Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
129 views
This is a little hard to explain, so I have a few links below that will explain it visually much better, but I want to be able to do this:  when I am dragging a slider, when I get close to the right end (the higher values) I want the "selected value" to go up faster than it would with the lower values.  Have a higher "scale" for the higher values.  Ok visual help:

I am trying to replicate the functionality at this link:  http://www.bluenile.com/diamond-search
See my version for reference also:  http://www.fronseetechnology.com/autoid_video/Admin/DiamondMaintenance.aspx

- Look at the Carat slider on the bluenile link.  Notice when you are sliding towards the end of this slider, the values go up much faster.  Values 3 - 15 are in the last quarter of the slider.  While .23 - 2.00 are in the whole first half.  If you look at mine, it is all even through the whole slider.  Is it possible to achieve this "scaling" with your slider.  I imagine I could play with some of the OnClient javascript functions, but wanted to get your input first.

Your help is always much appreciated.  Thank you

Joe
Shimon
Top achievements
Rank 1
 answered on 17 Feb 2016
1 answer
307 views

your onlinde demo for batch editing found at:

 http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultvb.aspx?skin=Bootstrap

 appears to be quite messed up with regards to the CheckboxColumn. Sometimes clicking on the column selects the box. Sometimes it doesn't. Sometimes double clicking does. Other times it appears impossible to get the box to become selected. 

This is true regardless of the EditMode.Click or EditMode... something else.

I have also seen the same problem in Firefox and Chrome.

Viktor Tachev
Telerik team
 answered on 17 Feb 2016
1 answer
168 views

I have a RadWindow created on code behind and when it gets closed I want the server to redirect the user to a specific page which I pass in via a URL parameter as per below:

 

protected void DisplayResultsWindow(string URL, string labelText)
        {
            RadWindow resultsWindow = new RadWindow();          
            resultsWindow.Width = Unit.Pixel(600);
            resultsWindow.Height = Unit.Pixel(190);
            resultsWindow.NavigateUrl = "Output.aspx?URL=" + URL + "&Label=" + labelText;
            resultsWindow.VisibleOnPageLoad = true;
            resultsWindow.Modal = true;
            resultsWindow.Behaviors = WindowBehaviors.Close;
            resultsWindow.Skin = "Glow";
            resultsWindow.VisibleStatusbar = false;
            resultsWindow.OnClientClose = "Redirect(" + URL + ")";
            resultsWindow.Title = "Output";
            rwmResultsWindow.Windows.Add(resultsWindow);
        }

 The JS:

function Redirect(URL) {
            window.location = URL;
            return false;
        }

How to correctly navigate to another page (the page and query string coming code behind) when the client closes the window? 

With the above I keep getting error:

JavaScript critical error at line 528, column 502 in http://localhost:19113/Manage?DC=Test\n\nSCRIPT1003: Expected ':'

Marin Bratanov
Telerik team
 answered on 17 Feb 2016
3 answers
194 views

Hello everyone.

I'm having a problem with an Android app. The app use a webview control to display and navigate a webpage. On the webpage I have a radasyncupload for uploading images. This woks perfectly both on the web page and the app FOR LOLLIPOP(Android 5.1.1).

My problem happens when I try to upload an image on Jellybean (Android 4.1.2), I'm able to upload the file to the control but when I hit the "Upload" button, that process the images I get the error "Parameter no valid" in the WEBPAGE code line "Bitmap upBmp = (Bitmap)Bitmap.FromStream(CurrentFile.InputStream);"

 

On the android app, when I hit the file upload bar it calls the following code:

public void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType, String capture) {
                //openFileChooser(uploadMsg, acceptType);
            mUploadMessage = uploadMsg;  
                Intent i = new Intent(Intent.ACTION_GET_CONTENT);  
                i.addCategory(Intent.CATEGORY_OPENABLE);  
                i.setType("image/*");
                startActivityForResult( Intent.createChooser( i, "File Chooser" ), FILECHOOSER_RESULTCODE );
            }

And after I choose the file:

 public void onActivityResult (int requestCode, int resultCode, Intent data) {
 
        // code for all versions except of Lollipop
        if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
 
            if(requestCode==FILECHOOSER_RESULTCODE) {
                if (null == this.mUploadMessage) {
                    return;
                }
 
                Uri result=null;
 
                try{
                    if (resultCode != RESULT_OK) {
                        result = null;
                    } else {
                        // retrieve from the private variable if the intent is null
                        result = data == null ? mCapturedImageURI : data.getData();
                    }
                }
                catch(Exception e) {
                    Toast.makeText(getApplicationContext(), "activity :"+e, Toast.LENGTH_LONG).show();
                }
 
                mUploadMessage.onReceiveValue(result);
                mUploadMessage = null;
            }
 
        } // end of code for all versions except of Lollipop

...

 

It's a very strange problem and every help will be very appreciated.

Ivan Danchev
Telerik team
 answered on 17 Feb 2016
5 answers
237 views

I'm clearly misunderstanding the doc, I have a MaskedTextBox to which I'm trying to assign a value, but all I get is nothing in it and it displays the mask character.

Here's the definition of the text box, pretty simple:

<telerik:RadMaskedTextBox runat="server" ID="txtUserName" ZeroPadNumericRanges="true" Mask="__________" >
</telerik:RadMaskedTextBox     

Rodney
Top achievements
Rank 2
 answered on 16 Feb 2016
1 answer
640 views

I have a page, and on a user clicks, a RadWindow opens (non-modal) and when an event in the RadWindow happens (user clicks something) another RadWindow opens as a modal.  When the modal closes, I just want to refresh the parent RadWindow, not the parent page (as the RadWindow closes).

I am using the OnClientClose event of the modal RadWindow, but I'm not sure how to refresh the parent RadWindow.

I tried using

function OnBookTimeClientClose() {
    var w = GetRadWindow();
    if (w) {
        w.location.reload();
    }
}

 

but the Chrome debugger said "reload is not a valid method"

 

Mike
Top achievements
Rank 1
 answered on 16 Feb 2016
3 answers
376 views

Hi

Webmaster 

I saw this url for Multiple column for Autocomplete following url . But here mention DatasourceID="Sqldatasource" but i need use this same sample for call 

asmx method how will do this any one guide me.

 http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx

 

Veselin Tsvetanov
Telerik team
 answered on 16 Feb 2016
1 answer
119 views
Perusing the Bootstrap Light skin (the default render mode now), it looks like the font-family is "TelerikWebUI". Why would you chose such an obscure font? It makes matching site content to your controls difficult, plus it makes it hard to predict the appearance of your controls if this font isn't available.
Danail Vasilev
Telerik team
 answered on 16 Feb 2016
1 answer
104 views

Hi

 How to Implementation AutoCompleteBox with Image for Ex:

My Control this but here i added this DataSourceID="SqlDataSource1"  but no need this i need fetch the data from database using c# and list object 

can you fixed this

 <telerik:RadComboBox RenderMode="Lightweight" ID="RadComboBox1" runat="server" Width="400" Height="400px" 

                EmptyMessage="Type an E-mail" DataSourceID="SqlDataSource1" DataTextField="ContactName"
                OnItemDataBound="RadComboBox1_ItemDataBound">
            </telerik:RadComboBox>

 

But My Need this

 In my AutocompleteBox shows like this -> multiple column with image then c# list object using webservices  for Data binding.

 

EMPID   EMPNAME    EMPIMAGE

100        NAME HERE  IMAGE HERE 

 

 how will do this any one fixed this

 

Veselin Tsvetanov
Telerik team
 answered on 16 Feb 2016
1 answer
149 views

Hello,

 I have 2 radAsyncUpload controls and both of them are required on my content page.  I also have multiple textboxes and a listbox that are also required.

I have tried using the RequiredFieldValidator and it works but not on the radAsyncUpload control.  I search the forum and found the customvalidator to check but that works for the radAsyncUpload control but not the other controls. 

 Is there a way I can check all my controls before I send anything to the server?

I'm using Telerik Tools 2013 Q1 NET 45.  This page is using a master page.

Any help would be greatly appreciated

Hristo Valyavicharski
Telerik team
 answered on 16 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?