Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
169 views
I have the following:

<telerik:RadXmlHttpPanel ID="RadXmlHttpPanelWOSummary" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"
    Value="CACTU" OnServiceRequest="XmlHttpPanel_ServiceRequest" 
    RenderMode="Block">

When the service request fires off, the Loading Panel displays.  Unfortunately, it NEVER hides.  I have followed your demo to a T, what could I possibly be doing wrong?  Is there a way I can explicitly hide the loading panel for the XmlHttpPanel?  I know how to hide one explicitly but I can't get it to work in conjunction with the RadXmlHttpPanel.

Thanks,

Andy
Pero
Telerik team
 answered on 28 Jun 2010
1 answer
109 views
Why RadGrid does not have Row property? Just like ASP.NET's standard GridView?
Tsvetoslav
Telerik team
 answered on 28 Jun 2010
1 answer
156 views
Hi,
i have a page which contains a LoadOnDemand MultiPageView, which would load a list of usercontrol on demand (as seen on one of the samples). within one of these control is a RadGrid, which has popUp Edit Mode, and using WebControls of my own.

the problem is, when ever any event (a post back) in invoked in the popup screen, it would first reload all the existing usercontrol, and then continue with RadGrid ItemCommand. Once all the, events has succesfully been invoked, whatever value that has been inserted on to the popup usercontrols is lost, as if its a new popup usercontrol.

Example:
1) user select tab 1 -> Postback -> Load UserControl1 (contain RadGrid1) On demand.
2) user click Add new Record on RadGrid -> Postback -> Display PopupEdit (hosting the usercontrol generated)
3) user fill in value onto text field (excluding a few vital fields) -> Postback -> (Value can still be seen) -> <Insert Process but not close popup) -> Complete -> Value that has been fill up by user is not displayed ontop the current popup**.

** the problem.

However, if we did not use load on demand, but append the grid onto a multipageview on design time, it works just fine.
help will be much appreciated.

Thanks,
Eng.

Pavlina
Telerik team
 answered on 28 Jun 2010
1 answer
80 views
Hi.

I put down to disk your sample from :

http://demos.telerik.com/aspnet-ajax/scheduler/examples/draganddropintegration/defaultcs.aspx

And works good for non recurrence tasks, when i drag/drop the tasks from the grid it are added to the appointments table. If i double click one activity in the scheduler and set the recurrence properties those are saved, but when i navigate to future days the tasks are not shown.

Lets say i set a recurrent activity to be executed everyday at 1pm, i only see the task today, when i navigate to "tomorrow" i dont see the task.

Any clue ?

Lester
vinoth
Top achievements
Rank 1
 answered on 28 Jun 2010
0 answers
99 views
Hi

      Am using two Combo box inside a repeater control.
      The first combobox is multi selectable.
      When I select a value in first combo box, it will give a return field.
      And this return field should be the made available in the second combo box.

      Can you suggest me to solve this?

     Please see the code below

ASPX:

<asp:Repeater ID="repLineDetDistItems" OnItemDataBound="repLineDetDistItems_ItemDataBound" runat="server">
<HeaderTemplate>
<tr>
<td><asp:Label runat="server" ID="lblbProNum" Text="~Proj_No~"></asp:Label></td>
<td><asp:Label runat="server" ID="Label42" Text="~WO~"></asp:Label></td>
</tr>
</HeaderTemplate>

<ItemTemplate>
<td>
    <searchpicker:SearchPicker ID="col1" runat="server"   
           SearchPickerType="ProjNumberLineNumberMultiFields2Selection" />
</td>
<td>
    <searchpicker:SearchPicker ID="col2" runat="server"   
           SearchPickerType="ProjNumberLineNumberMultiFields2Selection" />
</td>

c#

((SearchPicker)e.Item.FindControl("col1")).ReturnFields = ((SearchPicker)e.Item.FindControl("col1")).ClientID;

((SearchPicker)e.Item.FindControl("col2")).ComboBox.Text = ((SearchPicker)e.Item.FindControl("col1")).Text;
((SearchPicker)e.Item.FindControl("col2")).Value = ((SearchPicker)e.Item.FindControl("col1")).Text;

also used another method:

Given a hidden text box, and i have set the value for this is return field of 1 column
and on text change event of this hidden text box, written this JS as below

function show(col1, col2) {
            debugger;
            var ctrl = col2;
            ctrl.set_text = col1.value;
            ctrl.set_value = col1.value;
            //col2.value = col1.value;
        }





Vijayaragavan
Top achievements
Rank 1
 asked on 28 Jun 2010
1 answer
121 views

Dear ,

i make my code like that

 

<

 

script type="text/javascript">

 

 

 

 

var comboHidden;

 

 

 

 var webrequest = null;
// i will call on server to do this ,to import data , the time estimate 4 min for process.
function pageLoad(sender, eventArgs)

 

 

 {

 InitRequest();

 $find(

"<%= RadAjaxManager1.ClientID %>").ajaxRequest("Import");

 

 

 }

 

 

function InitRequest()

 

 

 {

Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(

 

function(sender, args)

 

 

 {

 

var prm = Sys.WebForms.PageRequestManager.getInstance();

 

 

 

if (prm.get_isInAsyncPostBack())

 

 

 prm.abortPostBack();

});

Sys.Net.WebRequestManager.add_invokingRequest(

 

 

function(executor, args)

 {

webrequest = args.get_webRequest().get_executor();

});

 

Sys.Net.WebRequestManager.add_completedRequest(

 

function(executor, args)

 

 

 {

webrequest =

 

null;

 });

}

 

 

//----------------------------------------------------------------------------------------------
<telerik:RadScriptManager ID="scm" runat="server" >

 

</telerik:RadScriptManager>

 

 

 

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"></telerik:RadStyleSheetManager>

 

 

 

<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server"></telerik:RadFormDecorator>

 

 

 

 <table runat="server" id="tblloading" style="width: 100%; height: 100%">

 

 

 

<tr style="width:100%; height:100%" >

 

 

 

<td >

 

 

 

<span> <h1> Importing </h1> </span>

 

 

 

</td>

 

 

 

</tr>

 

 

 

 <tr>

 

 

 

<td>

 

 

 

.......

 

 

</td>

 

 

 

</tr>

 

 

 

<tr>

 

 

 

<td> .........</td> </tr>

 

 

 

</table>

 

 

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest" >

 

 

 

<AjaxSettings>

 

 

 

<telerik:AjaxSetting AjaxControlID="RadAjaxManager1" >

 

 

 

<UpdatedControls >

 

 

<telerik:AjaxUpdatedControl ControlID="tblloading" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="Center" EnableSkinTransparency="true" EnableAjaxSkinRendering="true" >

 

 

</telerik:RadAjaxLoadingPanel>

 

 

</form>

when i call this from to implement
In Firefox : RadAjaxLoadingPanel1 work properly
in IE : only show picture but ajaxloading  can't roll un till my import finish

Thanks so much for your help
H.Nghia

 

 

 

 

Radoslav
Telerik team
 answered on 28 Jun 2010
1 answer
87 views
hi i am using edit template to edit the grid. In the edit template i used timepicker to select the time with interval of 15 minutes. But i need to restrict the start and end time of that timeview. When i set in design source it will work but when i tried in databound event not working
Tsvetina
Telerik team
 answered on 28 Jun 2010
1 answer
126 views
Will the server event fire if a file is dragged and dropped whithin the same folder ?

Thanks.
Fiko
Telerik team
 answered on 28 Jun 2010
1 answer
103 views
When I add a GridButtonColumn, GridHyperLinkColumn, or template column, the column is not binding.  Using the exact same field in a gridboundcolumn works fine - but the afore mentioned columns do not bind.

I am doing client-side binding to a web service.  The web service and binding in general are working correctly, as all other gridboundcolumns work correctly.

Shawn
Pavlina
Telerik team
 answered on 28 Jun 2010
2 answers
177 views
I would like to hide the dropdown when it is empty - how could that be achieved?

Ideally, I would like to reduce it's size to match the contents if there is empty space at the bottom - but that may be too difficult.

Thanks
John
John Hadjioannou
Top achievements
Rank 1
 answered on 28 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?