Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
151 views
Hello, i get a giant space between the following 2 controls, only in firefox, in ie7 it works fine:

 <telerik:RadDatePicker id="RadDatePicker1" Runat="server" AutoPostBack="true" OnSelectedDateChanged="rad_DateBegins_SelectedDateChanged" MinDate="2008-01-01" SelectedDate="2008-05-25" Width="1px">
            <datepopupbutton HoverImageUrl="~/RadControls/Calendar/Skins/Web20/Img/datePickerPopupHover.gif" Height="20.5px" ImageUrl="~/RadControls/Calendar/Skins/Web20/Img/datePickerPopup.gif"></datepopupbutton>
            <DateInput ID="DateInput1" style="display: none;" runat="server" ></DateInput>
         </telerik:RadDatePicker>
        
        <telerik:RadTimePicker ID="RadTimePicker1" runat="server" Width="85px" >
            <TimeView ID="TimeView3" runat="server" StartTime="9:0:0" EndTime="22:31:00" Interval="0:30:0" Columns="5" TimeFormat="HH:mm" Culture="en-US"></TimeView>
            <DateInput ID="DateInput2" DateFormat="HH:mm" Culture="en-US" runat="server"></DateInput>
            <DatePopupButton Visible="False"></DatePopupButton>
        </telerik:RadTimePicker>

i saw a post about editing a css file for the calendar, but i am not using a skin above, correct?  Any help on this one would be great.  I also tried removing the style="display: none;" and still no luck.  Spaces are not fun.

Joe
Joe
Top achievements
Rank 1
 answered on 29 Jun 2008
4 answers
120 views
Hi!

I wonder if you have any upgrade schema? I want to upgrade from NET1 to the new NET2 ajax. I can't found some events like EditableChanged.

Any help to get here?

/Thanks
Philip Saltskog
Top achievements
Rank 2
 answered on 29 Jun 2008
5 answers
127 views
Hello All,

In a future release, can you consider adding "title" and "footer" features to the rad grid?

I know that you have a "footer" feature, but I'm thinking more along the lines of a page-footer to add notes/disclaimers.  Something exactly like the StatusBar but have it be a "notes" kind of field.  Same for the header.

It would just be nice to be able to add free form text to surround table and keep the themeing rather than having to drop in hardcoded text/divs/panels/etc, for something like that.

Just a thought...

Thanks in advance,
Rick
Rick
Top achievements
Rank 1
 answered on 28 Jun 2008
2 answers
118 views
Hello,

I'm currently evaluating telerik RadControls for ASP.NET Ajax.

I'm using a RadGrid inside the <asp:Content /> control along with a master page.

I find that when I use it in this configuration, the top portion of the datagrid control slips "up and behind" the <div>'s (header, menu and submenus at the top of the page)  upon clicking the "edit" or "add" telerik controls in the datagrid. 

The RadGrid control stays  this way even after having saved the edited or new record.

If I then refresh the page the control drops back down and is completely visible again.

I've found that if I remove all reference to the master page and move all of the controls from the master page into the web form (not including the <asp:ContentPlaceHolder /> control) the effect described above does not happen.

Any thoughts?

Thanks,
David
David
Top achievements
Rank 1
 answered on 28 Jun 2008
1 answer
147 views
I have SQLDataSource

<

asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ AppSettings:ConnectionInfo %>"

runat="server" SelectCommand="prcGetMTSCorrespondentContact" DeleteCommand="prcAddMTSCorrespondentContact"

DeleteCommandType="StoredProcedure" InsertCommandType="StoredProcedure" SelectCommandType="StoredProcedure"

UpdateCommandType="StoredProcedure" OnSelecting="SqlDataSource1_Selecting" OnDeleting="SqlDataSource1_Deleting"

OnUpdating="SqlDataSource1_Updating" UpdateCommand="prcAddMTSCorrespondentContact"

InsertCommand="prcAddMTSCorrespondentContact" OnInserting="SqlDataSource1_Inserting">

<DeleteParameters>

<asp:Parameter Name="ContactID" Type="Int32" />

<asp:Parameter Name="Firm" Type="Int32" />

<asp:Parameter Name="CorrespondentCode" Type="Int32" />

<asp:Parameter Name="Delete" Type="Int32" DefaultValue="1" />

</DeleteParameters>

<SelectParameters>

<asp:Parameter Name="Firm" Type="String" />

<asp:Parameter Name="CorrespondentCode" Type="String" />

</SelectParameters>

<UpdateParameters>

<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />

<asp:Parameter Name="ContactID" Type="Int32" />

<asp:Parameter Name="Firm" Type="String" />

<asp:Parameter Name="CorrespondentCode" Type="String" />

<asp:ControlParameter Name="DepartmentName" ControlID="txtDepartmentName" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="DepartmentNote" ControlID="txtDepartmentNote" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="ContactPerson" ControlID="txtContactPerson" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="Telephone" ControlID="txtTelephone" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="Telephone2" ControlID="txtTelephone2" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="Fax" ControlID="txtFax" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="Email" ControlID="txtEmail" PropertyName="Text" Type="String" />

<asp:ControlParameter Name="Email2" ControlID="txtEmail2" PropertyName="Text" Type="String" />

<asp:ControlParameter Name="Sequence" ControlID="txtSequence" PropertyName="Text"

Type="String" />

<asp:Parameter Name="Delete" Type="Int32" DefaultValue="0" />

</UpdateParameters>

<InsertParameters>

<asp:Parameter Direction="ReturnValue" Name="RETURN_VALUE" Type="Int32" />

<asp:Parameter Name="ContactID" Type="Int32" DefaultValue="0" />

<asp:Parameter Name="Firm" Type="String" />

<asp:Parameter Name="CorrespondentCode" Type="String" />

<asp:ControlParameter Name="DepartmentName" ControlID="txtDepartmentName" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="DepartmentNote" ControlID="txtDepartmentNote" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="ContactPerson" ControlID="txtContactPerson" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="Telephone" ControlID="txtTelephone" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="Telephone2" ControlID="txtTelephone2" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="Fax" ControlID="txtFax" PropertyName="Text"

Type="String" />

<asp:ControlParameter Name="Email" ControlID="txtEmail" PropertyName="Text" Type="String" />

<asp:ControlParameter Name="Email2" ControlID="txtEmail2" PropertyName="Text" Type="String" />

<asp:ControlParameter Name="Sequence" ControlID="txtSequence" PropertyName="Text"

Type="String" />

<asp:Parameter Name="Delete" Type="Int32" DefaultValue="0" />

</InsertParameters>

</asp:SqlDataSource>



and the grid DataSource is set to the SQLDataSource.


Update is working fine.But insert is not working.
It says 
Could not find control 'txtDepartmentName' in ControlParameter 'DepartmentName'. 
Below is my DepartmentName column definition

<

telerik:GridTemplateColumn HeaderText="Department Name" UniqueName="DepartmentName">

<ItemTemplate>

<asp:Label ID="lblDepartmentName" runat="server" Text='<%# Bind("DepartmentName") %>'></asp:Label>

</ItemTemplate>

<EditItemTemplate>

<span style="color:Red;text-align:left;font-size:medium">*</span>

<asp:TextBox ID="txtDepartmentName" runat="server" Text='<%# Bind("DepartmentName") %>' Width="200" MaxLength="100"></asp:TextBox>

<asp:RequiredFieldValidator ID="rfvTxtDepartmentName" ControlToValidate="txtDepartmentName"

ErrorMessage="Please enter Department Name!" runat="server" Display="None">

</asp:RequiredFieldValidator>

</EditItemTemplate>

</telerik:GridTemplateColumn>

 and this is my codebehind file

protected

void grdContacts_ItemCommand(object source, GridCommandEventArgs e)

{

if (e.CommandName == "Update")

{

GridEditFormItem item = (GridEditFormItem)grdContacts.MasterTableView.GetItems(GridItemType.EditFormItem)[e.Item.ItemIndex];

foreach (Parameter param in SqlDataSource1.UpdateParameters)

{

ControlParameter cParam = param as ControlParameter;

if (cParam != null)

{

(cParam).ControlID = item.FindControl(cParam.ControlID).UniqueID;

}

}

}

else if (e.CommandName == "PerformInsert")

{

GridEditFormInsertItem item = (GridEditFormInsertItem)e.Item;

foreach (Parameter param in SqlDataSource1.UpdateParameters)

{

ControlParameter cParam = param as ControlParameter;

if (cParam != null)

{

(cParam).ControlID = item.FindControl(cParam.ControlID).UniqueID;

}

}

}

}

maha
Top achievements
Rank 1
 answered on 27 Jun 2008
5 answers
208 views
Hi I am using the LoadOnDemand example verbatim, but what I want to do is instead of loading three different web controls called customers, products, orders, I want to load the same web control in each pageview.

I have changed only a line in the code behind page. I am using a web control called timetest.ascx, which just displays the time on the page when loaded.

They all load fine and display a different time, but the problem is that I cannot get the RadTabStrip to change back to a pageView after it is loaded. i.e If you click tab 1 then 2 then 3 you see all the tabs loaded ok, but then clicking back to tab 2 or 3, the pageView stays on 3.

This doesn't happen if I load the three differently named usercontrols as is in the example. Can you please help me work this out?

Doug Odegaard
Top achievements
Rank 2
 answered on 27 Jun 2008
3 answers
137 views
I am developing an application and I am using the tooltip extensively on one page... There are 12 items and you roll over them to open the tooltip which has  a form in it...

the item on the left hand side of the screen... (middle left of the screen itself) seems to have an ill behavior when using ie6....

The tooltip comes out.. but disappears and comes out repeatedly when hovering over this item...

http://eworldmall.net/store

I am looking at it in firefox 2.0.0.12 and it is doing it there as well...

the left icon is not the only one that is doing this... but it is a good example because its hit area is a little smaller than the others... It looks like the tooltip takes the hit area away.. and then allows it to hit again... thus causing the tooltip to open over and over...

please advise...

(i dont want to set the manual close property if i dont have to)

thanks!

Jeff
Svetlina Anati
Telerik team
 answered on 27 Jun 2008
1 answer
157 views
Hi.

Is there a way for me to align the items in the lenged part of the chart horizontally (then at the bottom of the chart) instead of vertically ?
Giuseppe
Telerik team
 answered on 27 Jun 2008
1 answer
93 views

Hello
i am  having a normal aspx which contain splitter control.inside that am using

<radspl

:RadPane

ID

="rpTaregetWindow"

runat

="server" ContentUrl="DefaultTarget.aspx">

Scrolling="Both">

</radspl:RadPane>.my page is populating inside this radpane inside(DefaultTarget.aspx page).

my page which contain a rad grid .on clicking on edit am popuping a new rad window for edit update function.after performing the task .i can close the window by GetRadWindow().Close(); on click of save/cancel.
my requirement is to reload the parent page(normal aspx page not rad window) with  reload of grid with previous update that we have made in popup (child.this was not happening for my case. 
if any one can help me, please reply as soon as possible
Thanks Regards
Mathews Baby


Svetlina Anati
Telerik team
 answered on 27 Jun 2008
4 answers
130 views
Hi folks,

I'm desparate to make your scheduler fit my requirements as your support and documentation seems much better than your competitors.    I have just finished wasting a week on other scheduling controls which, grant it, have more features and server/client events etc BUT they seem slow at runtime and are slow in the IDE....further more documentation is poor and support seems rushed.  Given I don't require 90% of the features of typical scheduling controls I would rather go with you guys....so please help....

I suspect both of my problems will have a similar solution.

1)  I would like to be able to set work day start and end for each resource in resource grouped day view showing just one day.   Actually, what I really want is to apply css to timeslots outside of each resources work day, maybe display custom text inside these timeslots...and certainly prevent clicking or appointments.

2)  At the moment when I hover on a timeslot the slot and the one below it have css applied by rsAptCreate style.    Can I change the number of slots for which rsAptCreate style is applied?  Or can I implement my own solution by applying a onmouseover event to each timeslot on prerender ot timeslotcreated or something?

Thanks in advance.
Richard
Richard
Top achievements
Rank 1
 answered on 27 Jun 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?