Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
57 views
hello to all
   
                 good day,

                 i'm having difficulties on maintaining the width for my radcombox the browser, when i run it to IE 7 the radcombox is shrinking to about 2px size/width, his width define is 50px, i tried to view it in mozilla firefox its stand on his original size of 50px. what i gonna do to view it in IE browser to its size define to 50px that will not shrink..sample codes is highly appreciated

thanks
Jols
Top achievements
Rank 2
 asked on 18 Feb 2011
5 answers
419 views
I notice, that if you set min/max values on a RadNumericTextBox, and a user enters a value outside of the allowable range, that the text box value gets set to the min or max, depending on which side of the range the disallowed value was entered as. For instance, if the max is set to 5.5, and the user enters 6, the value of the box gets set to 5.5. I realize that there is a brief "alert" display, but this may not be noticed. I can see how this behavior might make sense in some scenarios, however, it can also be misleading, and I'm not sure it should be the default behavior. The user might not notice that the box reset to an approporiate value and may not realize what they wanted to enter was not allowed. Since precision is often key when using numeric text boxes to enter numbers, I don't think the text box should ever "assume" what an appropriate value should be if what the user entered is invalid. Rather, it should simply not allow the user to enter the value. This is the case if the user attempts to enter an invalid character. The same should be true as far as range validation. It might be nice if Telerik has some way of alerting the user that the value they entered was greater than the max or less than the min, however, i don't have a problem with it being incumbent upon us developers to display min/max values next to the textbox. Either way, when the box gets "set" to a value the user never entered, problems can occur.

I also noticed one other small issue. If a NumericTextBox is set to allow negatives (ie the min is not set to 0), and it is also set to allow rounding, and it is also set to KeepNotRoundedValue=False, and it's decimal places is set to some value, like 2, then the following can occur.

If the value entered is negative, however, when rounded, is actually "0.00", then the numeric textbox displays -0.00.

So, in my example, if the value entered was -.004. this would round to 0.00, so the display should be "0.00". However, instead, "-0.00" is displayed and -0 is not a number. If you click on the textbox, the minus sign disppears, but this shouldn't be necessary.

Daniel
Telerik team
 answered on 18 Feb 2011
5 answers
221 views

Hi Guys,
How do i access the image value to show/hide from code behind in a treeview using the following code
Thanks ...

<telerik:RadTreeView runat="server" ID="RadTreeView1">
    <Nodes>
        <telerik:RadTreeNode Text="03" Expanded="True">
            <Nodes>
                <telerik:RadTreeNode Text="4" Expanded="true">
                    <NodeTemplate>
                        <%# DataBinder.Eval(Container, "Text") %>
                    </NodeTemplate>
                    <Nodes>
                        <telerik:RadTreeNode Text="1">
                            <NodeTemplate>
                                <img src="Images/button_download1.gif" alt="" />
                                <%# DataBinder.Eval(Container, "Text") %>
                            </NodeTemplate>
                        </telerik:RadTreeNode>
                    </Nodes>
                </telerik:RadTreeNode>
                <telerik:RadTreeNode Text="1" Expanded="False">
                    <NodeTemplate>
                        <%# DataBinder.Eval(Container, "Text") %>
                    </NodeTemplate>
                    <Nodes>
                        <telerik:RadTreeNode Text="2">
                            <NodeTemplate>
                                <img src="Images/button_download2.gif" alt="" />
                                <%# DataBinder.Eval(Container, "Text") %>
                                </span> </div>
                            </NodeTemplate>
                        </telerik:RadTreeNode>
                    </Nodes>
                </telerik:RadTreeNode>
            </Nodes>
        </telerik:RadTreeNode>
    </Nodes>
</telerik:RadTreeView>
Helen
Telerik team
 answered on 18 Feb 2011
1 answer
94 views
I am having the usercontrol which contains

RadAjaxPanel

 

 

with RadGrid and RadAjaxManager and RadWindowManager.

Radwindow opening a new page which is also having RadAjaxManager and RadGrid, for the CRUD operation in the grid does not displaying the RadAjaxLoadingPanel.

 

Pavlina
Telerik team
 answered on 18 Feb 2011
3 answers
124 views
Hi,

I am generating radsceduler controls at run time. I also set the AppointmentDelete  event to the appropriate event handler. This event gets fired all right when set at design time, but doesn't fire for radascheduler created at runtime. However another event assigned to the dynamically created scheduler, Appointmentcreated, gets fired all right.

Any help on this one will be highly appreciated.

Kind Regards
Veronica
Telerik team
 answered on 18 Feb 2011
2 answers
131 views
I have a RadGrid on a page that uses Sorting/Filtering, Virtual Scrolling, and also hierarchy with 3 tables being loaded on expand. Everything works well except when I scroll towards the bottom of the grid and do an expand/collapse the focus jumps to the top row each time. Is there a reason for this and how do I fix it?

Also once I added hierarchy functionality my dropdown column no longer looks like a dropdown but like a test box though it still functions like a dropdown. I don't know if this is because of something I did or is just something that happens when you add the expand/collapse functionality. Any help would be appreciated.

Thanks
Maria Ilieva
Telerik team
 answered on 18 Feb 2011
2 answers
75 views
In IE6: Open the rad editor, put in this html:

<h1>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div></div>
</div>
</div>
</div>
 Primary FRCA</div>
</div>
</div>
</div>
</div>
</div>
</h1>
<div> </div>
<div>See below for provisional timetable for primary teaching for CT1 and 2's in Anaesthesia in 2011. <br />
</div>
<div><br />
It has been our intention not to clash with Final fellowship teaching, as well as half term etc. Topics suggested are guides only to try and cover most of the syllabus and can be amended. </div>
<div><br />
<strong>Bristol School of Anaesthesia - Provisional Timetable for Primary Teaching for CT1 and 2's in Anaesthesia in 2011</strong></div>
<div>
<table cellspacing="0" cellpadding="0" border="1">
    <tbody>
    </tbody>
</table>
</div>
<div><br />
<p style="text-align: center;"> </p>
<table bordercolor="#a0a0a0" cellspacing="0" cellpadding="0" border="1">
    <tbody>
        <tr>
            <td>
            <p><strong>2011</strong></p>
            </td>
            <td valign="top">
            <p><strong>Venue</strong></p>
            </td>
            <td valign="top">
            <p><strong>Topic</strong></p>
            </td>
        </tr>
        <tr>
            <td valign="top"> Jan 21st <br />
            </td>
            <td valign="top"> Southmead</td>
            <td valign="top">Pharmacology - ideal agents, anaesthetic agents -<br />
            pharmacology, infection control <br />
            </td>
        </tr>
        <tr>
            <td valign="top"> Feb 18th<br />
            </td>
            <td valign="top">Gloucester <br />
            </td>
            <td valign="top">Intensive care, shock, vasoactive agents, antibiotic pharmacology, infection control<br />
            </td>
        </tr>
        <tr>
            <td valign="top"> March 18th<br />
            </td>
            <td valign="top">Bristol Simulation Centre <br />
            </td>
            <td valign="top">Novice Anaesthesia Course<br />
            Please book your place with Julie Flowers <br />
            <br />
            </td>
        </tr>
        <tr>
            <td valign="top">March 24th<br />
            Note <strong>Thursday</strong><br />
            </td>
            <td valign="top"> Swindon</td>
            <td valign="top">Regional anaesthesia, anatomy, local anaesthesia, post<br />
            operative pain relief <br />
            </td>
        </tr>
        <tr>
            <td valign="top"> April 1st<br />
            </td>
            <td valign="top">Cheltenham <br />
            </td>
            <td valign="top">Respiratory physiology and pharmacology and assessment <br />
            <br />
            </td>
        </tr>
        <tr>
            <td valign="top"> April 29th<br />
            </td>
            <td valign="top">RUH <br />
            </td>
            <td valign="top">Cardiovascular physiology and pharmacology and assessment</td>
        </tr>
        <tr>
            <td valign="top"> May 6th<br />
            </td>
            <td valign="top">Bristol Simulation Centre<br />
            </td>
            <td valign="top">Primary OSCE course<br />
            (not part of core teaching, please book (£70) through the Bristol Medical Simulation Centre).<br />
            </td>
        </tr>
        <tr>
            <td valign="top"> May 13th <br />
            </td>
            <td valign="top">Swindon<br />
            </td>
            <td valign="top">Anaesthesia for Elderly, obese, emergencies and eyes<br />
            </td>
        </tr>
        <tr>
            <td valign="top"> June 17th<br />
            </td>
            <td valign="top">Gloucester <br />
            </td>
            <td valign="top">Obstetric and Paediatric anaesthesia .<br />
            </td>
        </tr>
        <tr>
            <td valign="top"> June 24th<br />
            </td>
            <td valign="top">Southmead<br />
            </td>
            <td valign="top">Renal Physiology, Haemoglobin and Oxygen Transport, fluid therapy.<br />
            </td>
        </tr>
        <tr>
            <td valign="top"> Sept 9th<br />
            </td>
            <td valign="top">RUH<br />
            </td>
            <td valign="top">Pre operative assessment and pre medication, critical incidents, management of the difficult airway<br />
            </td>
        </tr>
        <tr>
            <td valign="top"> Oct 7th<br />
            </td>
            <td valign="top">Weston-Super-Mare <br />
            </td>
            <td valign="top">Immunology, hepatic physiology and pharmacology, gut and metabolism, endocrinology <br />
            </td>
        </tr>
        <tr>
            <td valign="top">Nov 4th <br />
            </td>
            <td valign="top">Cheltenham <br />
            </td>
            <td valign="top">Physics (gases and vapours), electrical safety, clinical measurements and equipment <br />
            </td>
        </tr>
        <tr>
            <td valign="top"> December 2nd<br />
            </td>
            <td valign="top">Frenchay<br />
            </td>
            <td valign="top">Pain medicine, nerve and muscle physiology and pharmacology<br />
            </td>
        </tr>
    </tbody>
</table>
<style id="telerik-reTable-1" type="text/css">
    .telerik-reTable-1 {
    BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse
    }
    .telerik-reTable-1 TR.telerik-reTableHeaderRow-1 {
    PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-WEIGHT: bold; FONT-SIZE: 10pt; BACKGROUND: #d6e8ff; PADDING-BOTTOM: 10px; MARGIN: 10px; VERTICAL-ALIGN: top; TEXT-TRANSFORM: capitalize; COLOR: #3f4d6b; LINE-HEIGHT: 14pt; PADDING-TOP: 10px; FONT-STYLE: normal; FONT-FAMILY: Tahoma; TEXT-ALIGN: left; border-spacing: 10px
    }
    .telerik-reTable-1 TD.telerik-reTableHeaderFirstCol-1 {
    PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; COLOR: #3a4663; LINE-HEIGHT: 14pt; PADDING-TOP: 0in
    }
    .telerik-reTable-1 TD.telerik-reTableHeaderLastCol-1 {
    PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; COLOR: #3a4663; LINE-HEIGHT: 14pt; PADDING-TOP: 0in
    }
    .telerik-reTable-1 TD.telerik-reTableHeaderOddCol-1 {
    PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; COLOR: #3a4663; LINE-HEIGHT: 14pt; PADDING-TOP: 0in
    }
    .telerik-reTable-1 TD.telerik-reTableHeaderEvenCol-1 {
    PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; COLOR: #3a4663; LINE-HEIGHT: 14pt; PADDING-TOP: 0in
    }
    .telerik-reTable-1 TR.telerik-reTableOddRow-1 {
    FONT-SIZE: 10pt; VERTICAL-ALIGN: top; COLOR: #666666; BACKGROUND-COLOR: #f2f3f4
    }
    .telerik-reTable-1 TR.telerik-reTableEvenRow-1 {
    FONT-SIZE: 10pt; VERTICAL-ALIGN: top; COLOR: #666666; BACKGROUND-COLOR: #e7ebf7
    }
    .telerik-reTable-1 TD.telerik-reTableFirstCol-1 {
    PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; PADDING-TOP: 0in
    }
    .telerik-reTable-1 TD.telerik-reTableLastCol-1 {
    PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; PADDING-TOP: 0in
    }
    .telerik-reTable-1 TD.telerik-reTableOddCol-1 {
    PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; PADDING-TOP: 0in
    }
    .telerik-reTable-1 TD.telerik-reTableEvenCol-1 {
    PADDING-RIGHT: 5.4pt; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; PADDING-TOP: 0in
    }
    .telerik-reTable-1 TR.telerik-reTableFooterRow-1 {
    FONT-WEIGHT: 500; FONT-SIZE: 10pt; COLOR: #4a5a80; LINE-HEIGHT: 11pt; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #d6e8ff
    }
    .telerik-reTable-1 TD.telerik-reTableFooterFirstCol-1 {
    PADDING-RIGHT: 5.4pt; BORDER-TOP: gray 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; PADDING-TOP: 0in; TEXT-ALIGN: left
    }
    .telerik-reTable-1 TD.telerik-reTableFooterLastCol-1 {
    PADDING-RIGHT: 5.4pt; BORDER-TOP: gray 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; PADDING-TOP: 0in; TEXT-ALIGN: left
    }
    .telerik-reTable-1 TD.telerik-reTableFooterOddCol-1 {
    PADDING-RIGHT: 5.4pt; BORDER-TOP: gray 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; PADDING-TOP: 0in; TEXT-ALIGN: left
    }
    .telerik-reTable-1 TD.telerik-reTableFooterEvenCol-1 {
    PADDING-RIGHT: 5.4pt; BORDER-TOP: gray 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; PADDING-TOP: 0in; TEXT-ALIGN: left
    }
</style>
<p> </p>
<p> </p>
<p>I have chosen the dates to prevent clashing with Final FRCA teaching sessions, exams or holidays (as much as possible) and to maximise opportunities prior to exam dates.</p>
<p>I have mapped the topics in the newly revamped syllabus to the expertise in different hospitals and adjusted some of the content.  Weston-super-Mare is welcomed as a new teaching venue.<br />
<br />
I have included a couple of specific exam related BMSC courses but these are not funded as part of the teaching programme but are subsidised for Bristol trainees and are highly recommended.   </p>
<p>I am very keen to maximise the learning opportunities and would ask that the trainees are contacted (through Julie Flowers) 2 - 4 weeks in advance with a specific request to complete either on-line Anaesthetic e-learning modules or specific reading tasks, so that the session acts more like a workshop/tutorial and less like a lecture.<br />
<br />
</p>
<p>Please give Julie Flowers, School administrator, a copy of the day’s program and preparatory work list a month prior to your scheduled date so that she can place it on the website.  If you would like to alter the date or content of the teaching session, please could you let both Julie and me know as soon possible.<br />
<br />
Please could you take a register of the names of those trainees attending the teaching day and forward it to Julie Flowers.  Please could you also remind trainees that those who are released from clinical duties, yet do not attend, will have their names fed back to the College Tutor and will have a day of study leave docked and may need to answer to their Trust.</p>
<p>These sessions are an integral part of our school training programme and are key to maintaining our excellent exam results, thank you for your involvement. </p>
<p> </p>
<p>Robin Cooper</p>
<p>Anaesthetic Core Programme Director</p>
<p>School of Anaesthesia </p>
</div>
<div> </div>
<div>Julie Flowers email:
<div> </div>
 </div>

Save it, then re-edit it, and attempt to delete the first row of the table.

IE Crashes.

Causing a lot of problems for our customers, but we can't seem to find a reason for this?
n65uk
Top achievements
Rank 1
 answered on 18 Feb 2011
1 answer
441 views
hi

i want to findcontrol of a textbox in radgrid itemtemplate in button event

i have done this but getting an exception
protected void btnSave_Click(object sender, EventArgs e)
{
        Button btnSave = (Button)sender; 
        GridHeaderItem item1 = ((GridHeaderItem)(btnSave.NamingContainer)); 
        RadNumericTextBox txtQty = (RadNumericTextBox)item1.FindControl("txtQty"); 
        RadNumericTextBox txtAmount = (RadNumericTextBox)item1.FindControl("txtAmount"); 
        RadNumericTextBox txtlicenseFee = (RadNumericTextBox)item1.FindControl("txtlicensefee");
}

 

 

 

 

Shinu
Top achievements
Rank 2
 answered on 18 Feb 2011
2 answers
35 views
Hello,
   I want show a text in a column bound to a bool field, showing diferent text depending if the value is true or false. And also in a column bound to a int field, showing diferent text devending the value.

Can anyone help me?
thanks in advance.
Tajes
Top achievements
Rank 1
 answered on 18 Feb 2011
0 answers
34 views
Dear All,
I am getting problem when I want to update
country Radcombobox with Continent RadCombobox OnselectIndexChanged event
where I put RadCombobox AutoPostBack  property to true.

And Applied radajaxmanager with UpdateControl though its not updating partially

What might be the problem

plz assist me about this problem

Before that I was using following tactics but was not solved mine problem
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx


Thanks & Regard
Manoj Chavan
Exa India Pvt ltd
Manoj
Top achievements
Rank 1
 asked on 18 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?