<Telerik:GridTemplateColumn UniqueName ="Subject" >
<ItemTemplate >
<asp:Label runat ="server" ID="lblSubject" Text ='<%# Eval("Subject") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate >
<asp:TextBox runat ="server" ID ="txtSubject" MaxLength ="1000" Text ='<%# Eval("Subject") %>'></asp:TextBox>
</EditItemTemplate>
</Telerik:GridTemplateColumn>
here i set the txtSubject textbox property maxlenth in 1000 because it can have 1000 charecters
now in that case if i insert 1000 charector in textbox that it inserted succussfully but after this here is a lebel named lblSubject Which shows this Inserted Subject in the grid.
due this the Gui of grid is disturbed and it Stretched only in single line with taking all 1000 charectors.
So i want to know how to solving this wrap problem of data to show in boundries of grid
function
isSlotFree(targetSlot, appointment)
{
var startTime = targetSlot.get_startTime();
var scheduler = $find("<%= RadScheduler1.ClientID %>");
var currentView = scheduler.get_selectedView();
if(currentView==2)
// concatenate new startDate with appointments time portion if in MONTHLY view only
{
var originalStartTime = appointment.get_start();
var newHour = originalStartTime.getHours();
var newMinute = originalStartTime.getMinutes();
var newSecond = originalStartTime.getSeconds();
startTime.setHours(newHour);
startTime.setMinutes(newMinute);
startTime.setSeconds(newSecond);
var endTime = new Date(startTime.getTime() + appointment._getDuration());
}
else
{
var endTime = new Date(startTime.getTime() + appointment._getDuration());
}
return overlapsWithAnotherAppointment(appointment, startTime, endTime);
}