Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
392 views
I have a radwindow with 2 text boxes, when the submit button is clicked i notice neither of the textboxes on this page show the values that have been entered.

both show as empty.

how do i get these values?

it works when the form is within a normal asp.net page so its presumably due to the radwindow scenario.
Mark
Top achievements
Rank 1
 answered on 04 Jan 2013
0 answers
99 views
Dear All!

i am working on a simple school fee management application . i am developing it in extjs. I am stuck in following case .

case: There are many students are there in a grid. i want to print fee for all students . In my database i have a table named as feeSlip . that table has slipId. each student has unique slipid. so if there are 100 students are there then there are 100 slipids are there. Now here is a problem.
I want to print my report in a loop against each slip id. 

i want to know how i can do this. i mean how i can print my report more then once by using single command.

Best  Regards
Waqas
Top achievements
Rank 1
 asked on 04 Jan 2013
3 answers
270 views

I am trying to rebind my RadGrid after I have performd some actions below is my ajax code that does some operations in server side:

var id = $(this).find("input[name$=hiddenID]").val();

                 $.ajax({
                    type: "POST",
                    url: "Details.aspx/DoStuff",
                    data: "{'id': '" + id + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",

                    success: function (msg) {
                        if (msg.d == 'Sent') {
                            $.colorbox({ href: '/view.aspx?Id=' + id, iframe: true,});
                           GridRebind();
                        }
                    }

                });

To rebind on success I have got this javascript code:

function GridRebind() {
                        var masterTable = $find("<%= gd.ClientID %>").get_masterTableView();
                        masterTable.rebind();
                    }

But everytime I get $find(..)is null on var masterTable = $find("<%= gd.ClientID %>").get_masterTableView(); and it doesn't rebind the grid.

When researching I found out you need to put the following in Grid and set Grid datasource to something on page Init but still not working :

 <ClientSettings>
      <ClientEvents OnCommand="function(){}"  />
 </ClientSettings>
Kostadin
Telerik team
 answered on 04 Jan 2013
0 answers
133 views
Hi,

I noticed that there is a unusual behavior in the Empty message of the RadAutoCompleteBox. This is how you can reproduce this.

1. Click On the Autocompletebox then the empty message will disappear which is fine. 
2. Now press Alt + Shift to change the screens of Windows.
3. Once you reopened the AutoCompleteBox window and click somewhere else just press Tab, Empty Message text will be selected as AutoCompleBox value.

This seems to be an issue. Please advice.

Thanks.
Chirantha
Top achievements
Rank 1
 asked on 04 Jan 2013
1 answer
196 views
HI,
In my application i m using setfocus method to have focus on a control.
its working fine in IE8 but in IE9 its giving error 404: webform_autofocus is undefined.


have added following keys in web config:
 <system.web>
 <httpHandlers>
           <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />

 </httpHandlers>
</system.web>


 <system.webServer>
<handlers>
 <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
 </handlers>
 </system.webServer>
Vasil
Telerik team
 answered on 04 Jan 2013
1 answer
79 views
hii,
how to show  mask only on focus of the radmaskedtextbox?
Shinu
Top achievements
Rank 2
 answered on 04 Jan 2013
1 answer
435 views
Hi,
How can i set text to a radtextbox from javascript?
Princy
Top achievements
Rank 2
 answered on 04 Jan 2013
1 answer
77 views
Hi ,Am getting this error,
SCRIPT5007: Unable to get value of the property 'get_element': object is null or undefined
Events.aspx, line 196 character 17 and am getting error in dock.get_width() error is undefined
this is my script.

            function openForm() {
                var dock = $find("ctl00_ContentPlaceHolder1_RadDock1");
                // Center the RadDock on the screen
                var viewPort = $telerik.getViewPortSize();
                 var viewPort = $telerik.getViewPortSize();
                var xPos = Math.round((viewPort.width - parseInt(dock.get_width())) / 2);
                var yPos = Math.round((viewPort.height - parseInt(dock.get_height())) / 2);
                $telerik.setLocation(dock.get_element(), { x: xPos, y: yPos });


                dock.set_closed(false);

                var descriptionTextBox = $get('ctl00_ContentPlaceHolder1_RadDock1_C_DescriptionText');
                descriptionTextBox.focus();

                Sys.Application.remove_load(openForm);
            }

Dobromir
Telerik team
 answered on 04 Jan 2013
2 answers
103 views
I have a rotator that scrolls horizontal and is set up to display a schedule for a certain week.  How can I set it up to not scroll if the current week greater than a week i determain?  I'm using vb.net
Princy
Top achievements
Rank 2
 answered on 04 Jan 2013
2 answers
237 views
Hi All,

I have an existing web user control which uses the ordinary drop-down boxes and they are created at client side. Now I want to replace the ordinary dropdown controls with the Radcombobox. But I can't get it done since RadComboBox control need the runat=server attribute.
So what I need is to create the RadComboBox controls dynamically from javascripts. I saw samples that create RadComboBoxItem at client side, but none for control itself creation. Is this possible?

Thanks,
Chinthana
Royal
Top achievements
Rank 1
 answered on 04 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?