Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
90 views
If a radGrid is ajaxed, do ajaxed transactions (like deleting rows in the grid, editing rows in the grid, etc) keep the session alive?  Or does keeping the session alive require postbacks?
Kermit
Top achievements
Rank 1
 answered on 26 Jan 2012
6 answers
284 views
Hi,

I'm unable to see a thread I'd posted on quite a while ago about this same problem.

We've a RADTREEVIEW inside a RADCOMBOBOX. We use the clientnodeclicking to handle the dropdown selection and follow the code mentioned in the control documentation.

However, the selection does not happen when we click for the first time. The selection triggers a partial postback which would populate a dropdownlist based on the value selected from radtreeview. The selection only happens when we re-open the radtreeview and select the same node.

function nodeClicking(sender, args) {

 

var senderComboBoxName = sender._uniqueId.replace('$i0$RadTreeViewCategory', '');

senderComboBoxName = senderComboBoxName.replace(

 

'$', '_');

senderComboBoxName = senderComboBoxName.replace(

 

'$', '_');

senderComboBoxName = senderComboBoxName.replace(

 

'$', '_');

 

var comboBox = $find(senderComboBoxName);

 

var node = args.get_node()

 

var nodeValue = node.get_value();

 

if (EndsWithString(nodeValue, "5")) {

comboBox.set_text(node.get_text());

comboBox.trackChanges();

comboBox.get_items().getItem(0).set_value(node.get_value());

comboBox.commitChanges();

comboBox.hideDropDown();

comboBox.postback();

}

}

Please help us with the problem.

Sumedh
Top achievements
Rank 1
 answered on 26 Jan 2012
2 answers
90 views
Hi,
I have a RadGrid with

EnablePostBackOnRowClick

 

="true".RadGrid may contain multiple records but only based on status field = "A" or "D" row must be clickable.If status = "P" or "S" user should not be able to click that row to go to the next grid.
I used the following event to click on the row:

 

protected

 

void PrnHistoryGrid_ItemCommand(object source, GridCommandEventArgs e)

 

{

 

if (e.CommandName == "RowClick" && e.Item is GridDataItem)

 

{

 

GridEditableItem item = (GridEditableItem)e.Item;

 

 

string reqstat = item.Cells[13].Text;

 

 

string recstat = item.Cells[11].Text;

 

 

if (reqstat == "A" || reqstat == "D")

 

{

e.Item.Selected =

true;

 

 

int reqno = Convert.ToInt32(item.Cells[2].Text);

 

LoadRejCommData(reqno, recstat);

}

 

else

 

 

 

 

{

 

if (rejcommPanel.Visible == true)

 

{

rejcommPanel.Visible =

false;

 

}

}

}

}


Thanks  so much for your help

Vitaly
Top achievements
Rank 1
 answered on 26 Jan 2012
4 answers
62 views
Hi, I have read different posts stating that image thumbnail functionality exists in image manager but I cannot find the property "AllowThumbGeneration" for some reason. I am running the latest (2011.3.1305.35) and this is all I get when clicking the properties tab.

http://i.imgur.com/VNuat.png


Andrew Royce
Top achievements
Rank 1
 answered on 26 Jan 2012
9 answers
203 views
When we have too many items in the dropdown, Chrome starts to overlap the items in the combobox.

How do you resolve this? I've attached a screenshot.
Ivana
Telerik team
 answered on 26 Jan 2012
4 answers
87 views
Hi;
Just installed the new SP and when I start my app in IE9, I get the following error:
"Microsoft JScript runtime error: Unable to get value of the property 'Name': object is null or undefined"

The line # is 2099





And the following dialog pops up:
Sacha
Top achievements
Rank 1
 answered on 26 Jan 2012
1 answer
153 views
Hi,
   I have been trying to get this to work and need some help, I have a grid Template Column and have an expression to evaluate boolean values if its true or false in the Item Template, I need to filter on these values, how can I do this? In other Itemtemplate examples I have seen recommentdations to use Datafield but If i
use the
Datafield = "IsPrivateBank" ....it takes away the Filter from column header and just leaves a checkbox, since its taking it as a boolean value

and If I use the Expression in the datafield like

DataField = "<%# Convert.ToBoolean(Eval("IsPrivateBank")) == false ? "Federal" : "Private" %>"

this results in an error too. How can I filter on the values the user sees i.e "Federal" or "Private"  Please provide code example with your help, thanks in advance!!



<telerik:GridTemplateColumn HeaderText="Type" HeaderStyle-HorizontalAlign="Left" HeaderStyle-VerticalAlign="Bottom" ItemStyle-HorizontalAlign="Left" SortExpression="IsPrivateBank">   
    <ItemTemplate>   
        <asp:Label ID="lblBankType" runat="server" Text='<%# Convert.ToBoolean(Eval("IsPrivateBank")) == false ? "Federal" : "Private" %>'></asp:Label>   
    </ItemTemplate>   
</telerik:GridTemplateColumn>  
Jayesh Goyani
Top achievements
Rank 2
 answered on 26 Jan 2012
3 answers
117 views
Hi,

I have genuine Telerik controls. I added it to my Visual Studio and they're working fine. Now I want to add the Rad-Editor to SharePoint List as Rich Text  Field. I have come across with these instructions. It seems i.e I need wsp file to get  RadEditor in List Items .I searched in my installed folders of Telerik controls but I don't find any wsp file.Can any one tell me how can I get this wsp file or from where can I get this wsp file.
Rumen
Telerik team
 answered on 26 Jan 2012
1 answer
106 views
Hi,
 I need to to show the appointment count for each day (preferably in the day header area) in the month/week view. I don't see a template area for the day header and the resource header template won't suffice. I just wanted to know if it was possible using the RadScheduler.

Thanks,
Ximor.
Ivana
Telerik team
 answered on 26 Jan 2012
1 answer
131 views
Hi,

Im using Rad ajax manager, RadAjaxLoadingPanel in my webform.

I have two panels in my form, Panel1 is having Create account controls and  another Panel2 is for Thank you notes.

When user created an account successfully i need to hide Panel 1 and show Panel 2.
Im using ResponseEnd method to do make visible/hide using Javascript below method.

 function ResponseEnd(sender, arguments) {
  //hide the loading panel and clean up the global variables 
               
                if (currentLoadingPanel != null) {
                    currentLoadingPanel.hide(currentUpdatedControl);
                }
               ShowTY();
               currentUpdatedControl = null;
               currentLoadingPanel = null;
               
}

  function ShowTY(){
                   document.getElementById('<%= Panelty.ClientID %>').style.visibility = "visible";
                    document.getElementById('<%= Panelty.ClientID %>').style.display = "block";
                    document.getElementById('<%= Panelsu.ClientID %>').style.visibility = "false";
                    document.getElementById('<%= Panelsu.ClientID %>').style.display = "none";
  }

If user already exist or any db server error i need show Panel1 display error message in a Label 
For this I need to write a condition to check whether server response succeeded or not in the above method.

Please let me know how i can know the server response or how i can handle this issue.....
Please reply soon

Thanks

  

Andrey
Telerik team
 answered on 26 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?