AJAX :: Resizable Control Extender / PnlResourceProjectMapps Is Taking Width As 300 And Not The 500?

May 17, 2010

I am using following code in aspx page for resizable control extender.

<ajaxToolkit:ResizableControlExtender
ID="RCE"
runat="server" [code]...

But when i run it, pnlResourceProjectMapps is taking width as 300 and not the 500. I have tried different ways to solve this but not succeded.

View 1 Replies


Similar Messages:

AJAX :: Using Resizable Control Extender As Splitter Control?

Nov 24, 2010

I have two div (or panels) one at the left and other at right with same height but different width. I want to know whether I can use AJAX resizable control extender can be used as a Splitter Container (or Splitter Control) just the way we use it in C# Winform.

I also need to maintain the Splitter distance on Postbacks.

View 2 Replies

AJAX :: Control Width Changes On Focus When Using AutoComplete Extender?

Jun 23, 2010

When setting Percentages sizes on the textbox that I'm using as target for the Autocomplete it changes it's width when loosing or obtaining focus.

I Fixed this by setting the size in pixels instead.

Is this a bug or was I doing something wrong?

View 1 Replies

AJAX :: How To Adjust Height Width And Theming On Calendar Extender

Mar 30, 2010

I have the following calendar control, but it appears very plain.

Is it possible to adjust height and width plus any background colors & weekend days having different colors etc:

<asp:TextBox ID="txtInvoiceDate" runat="server"></asp:TextBox>
<asp:CalendarExtender ID="txtInvoiceDate_CalendarExtender" runat="server"
TargetControlID="txtInvoiceDate" CssClass="cal_Theme1">
</asp:CalendarExtender>

View 2 Replies

AJAX :: Creating Simple Autocomplete / Taking One Textbox Adding Autocomplete Extender?

Sep 29, 2010

I'm creating just simple autocomplete sample.

taking one textbox adding autocomplete extender as

<asp:ScriptManager ID="ScriptManager2" runat="server">
<Services>
<asp:ServiceReference Path="WebService.asmx" />
</Services>
</asp:ScriptManager>
<asp:TextBox ID="TextBox1" runat="server" EnableTheming="True" ></asp:TextBox>
<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" MinimumPrefixLength="1" ServiceMethod="GetCountryInfo" ServicePath="WebService.asmx" TargetControlID="TextBox1">
</cc1:AutoCompleteExtender>
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />

Also creating web services as "WebService.asmx" & code inside this file is that

<%@ WebService Language="C#" CodeBehind="~/App_Code/WebService.cs" %>

------

then in Webservice.cs file i write code as

public class WebService : System.Web.Services.WebService {
MySql.Data.MySqlClient.MySqlCommand cmd = new MySqlCommand();
MySql.Data.MySqlClient.MySqlConnection con = new MySqlConnection();
//MySqlDataAdapter da = new MySqlDataAdapter();
MySqlDataReader dr;
public WebService () {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[WebMethod]
public string[] GetCountryInfo(string prefixText)
{
int count = 10;
string sql = "Select * from tbl_patientmaster Where P_NAME like '" + @prefixText + "%'";
con.ConnectionString = System.Configuration.ConfigurationManager.AppSettings["HMSDBConnectionString"].ToString();
con.Open();
MySql.Data.MySqlClient.MySqlDataAdapter da = new MySql.Data.MySqlClient.MySqlDataAdapter(sql, con);
da.SelectCommand.Parameters.Add("@prefixText", MySql.Data.MySqlClient.MySqlDbType.VarChar, 50).Value = prefixText + "%";
System.Data.DataTable dt = new System.Data.DataTable();
da.Fill(dt);
string[] items = new string[dt.Rows.Count];
int i = 0;
foreach (System.Data.DataRow dr in dt.Rows)
{
items.SetValue(dr["P_NAME"].ToString(), i);
i++;
}
return items;
}

this code is not working

View 1 Replies

Forms Data Controls :: Ajax In Asp 1.1 / Taking Too Much Refresh And Taking Long Time?

Jan 13, 2010

I am making some application in asp.net 1.1 in that I am displaying data in datagrid from database. In data grid first column is of check box and radio button and in the last column we have text box now thing is that when i click on check box crosponding textbox we fill some figure and at the end we press calculate button to get total. After getting total we have to press continue button to go next step

But suppose if some body remove that check the we should press calculate button or chnage some figure in the text box then we should press calculate button again to recalculate. for that i kept autopost back on check box oncheckedchanged event and text box ontextchanged event and hide continue button so user will click calcutae button abd then continue button will re-apper

Problem it that it taking too much refresh and taking long time. So was lloking for some ajax method to use in my application.

View 8 Replies

AJAX :: Updatepanel Control / Drag Updatepanel On Asp Page It Is Not Resizable?

Mar 11, 2010

I am currently using a asp.net 2.0 with visual studio 2005.

I am trying to build a web application using ajax.

but when I drag the ajax updatepanel on asp.net page it is not resizable,so how should i put other controls on it?

View 4 Replies

AJAX :: Extender Control (CalendarExtender2) Is Not A Registered Extender Control

May 7, 2015

i have used your code to export <div> to pdf & it works fine but when i am using a ajax controls in a <div> tag then it gives me error message i.e :-

Extender control 'CalendarExtender2' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors().Parameter name: extenderControl

View 1 Replies

How To Create Non Resizable Custom Server Control

Mar 14, 2010

I am building a custom web panel control for specific purpose.I want the control be fixed with specific width and height so that not to be resized in design mode as well as from property window.How can I do this.

View 2 Replies

AJAX :: How To Control The Sequence Of Execution When Multiple AJAX Extender Is Added To A Control

Aug 5, 2010

I want to write a program to click a button to save a record. A confirmation window will show up before the record actually save to database. Once confirmed, it will show a modal popup.Here is the code:

[Code]....

The problem is, the Modal Popup shows up before the confirmation windows. Is there any way to control the execution sequence of AJAX controls?

View 11 Replies

AJAX :: Restricting Width Of ResizeControlExtender To Width Of The Parent Controlcontainer?

Jun 10, 2010

I'm sure this question has been asked before but I have been unable to find an answer so far. I want to create a control consisting of a label, an editor control and make the editor control resizable using the ResizeControlExtender:

[Code]....

I have is to extend the control vertically, effectively making it longer, but I don't want the user to make it any wider than it parent control - effectively disabling the option to make it wider. Hopefully that makes sense - for an example, look no further than the control used to input text when creating a post.

View 1 Replies

AJAX :: How To Set Tab Control Auto Width And Height

Jan 11, 2011

how to set Tab Control Auto Width and height

Iam using tab control and my controls are showing outside of the tab

View 1 Replies

C# - Increasing The Width Of The Autocomplete Extender List?

Mar 30, 2010

I have an ASP.NET AJAX autocomplete extender with CompletionListCssClass=autocomplete_completionListElement :

.autocomplete_completionListElement
{
width:500px;
margin : 0px!important;
background-color : inherit;
color : windowtext;
border : buttonshadow;
border-width : 1px;
border-style : solid;
overflow :auto;
height : 200px;
text-align : left;
}

But for some odd reason the width of the auto complete list always takes up the width of the textbox even when I set the width to 500px.

View 2 Replies

AJAX :: Custom Control Validator - Can't Set The Width Property

Nov 23, 2010

I am trying to set the width property of a custom control validator but it is not happening at all. The width of the validator control popup is constantly 100% width (the width="200px" below has NO effect at all)

here is my code:

[code].....

View 10 Replies

Control Table Width Width In Cs Code?

Feb 9, 2010

is there possible to control the table (tr, th, td) width in cs code? i dont want in HTML.

View 7 Replies

C# - Ajax Control Toolkit Modal Popup Extender Target Control Causes Postback

Jul 29, 2010

When I click the button to open the modal popup it shows the popup but then continues and forces a postback causing the page to reload and the modal popup to be hidden again.Here is the markup for the control:

<asp:Button id="LoginOpenButton" runat="server" Text="Login"/>

<asp:Panel ID="ContentPanel" runat="server" CssClass="modalPopup">
<fieldset> [code]....

My script manager has no properties other than the id and runat set.

View 1 Replies

AJAX :: How To Pop Up A Window Using Control Model Pop Up Extender Control

Mar 15, 2011

I have a doubt........on my page there is button called "Submit for Approval"( parts.aspx)

| when this is clicked a popup window should open called comments window

in that they can add comments and attachments after -------> once clicked "submit" button the popup closes and the comments entered in that popup window should be seen in read only in parts.aspx page [ there is a textbox in this page and comments should be displayed in the textbox for read-only format

View 2 Replies

AJAX :: Add Extender In A Third Party Control?

Feb 1, 2010

There is no "Add extender" attached next to third party control.

How to add Ajax extender in a third party control, such as autocomplete extender?

View 1 Replies

JQuery :: How To Set The Aspx Page Height And Width (automatically )or Based On Control Width And Height

Nov 12, 2010

how to set the aspx page height and width (automatically )or based on control width and height

View 2 Replies

AJAX :: Web User Control And Modalpopup Extender?

Dec 16, 2010

I am quite new to asp.net. I would like to ask for some advice on how this scenario can be achieved. Here is the problem:

I have a 5 gridviews on my page. In each gridview, I have two important columns. They are SellerID and BuyerID. Because I already have too many gridviews on the page, I want to load a webuser control with a modalPopupExtender when either SellerID or BuyerID is clicked. That is to say if a user select a SellerID, the details information about that SellerID should be loaded with DetailView from the user control and if the buyerID is click, the details information about that buyer should be loaded with another detailview
from the user control as well.

My problem is I do not know how to get the Selected Value from the gridView since the DetailView is in the WebUserControl. One more thing, both SellerID and BuyerID are in the same GridView, so how can we distinguish when a user select a SellerID or vice versa.

View 7 Replies

AJAX :: Modalpopup Extender As User Control?

Jan 11, 2011

i made user control which represnt a modal pop up

this is my user control

[Code]....

i want to user this modal popup at many page as user control but i cant treat with show() method of modalpopup

View 4 Replies

Ajaxcontroltoolkit - Slider Extender Control In Ajax?

Feb 15, 2011

I am using Slider Extender for the very first time and i am not able to figure out why am i facing this problem, the problem is mentioned below :I kept the slider extender, Script Manager and 2 text boxes(one for TargetControl and one for BoundControl), i have given all required values (i.e. Maximum, minimum, steps etc.)
now the slider should load on page load. Although the slider is loading on page load but the Bar of the slider is coming out of position. The same thing when i did with Orientation as Horizontal it worked properly but for Vertical orientation it is giving the above problem.

View 1 Replies

AJAX :: Audio Control With Slider Extender?

Aug 10, 2010

I need to control volume of aspnet audio control using the slider extender in ajax. I have a listview in which every item click plays an mp3 file. Also at each click i assign the current value fron slider to the volume of audio control so that the volume is not reset each time the user clicks on an item. But the problem is that the slider extender does not increase the volume but only decreases it from the last value set.

The .aspx page

<asp:TextBox ID="TextBox2" runat="server" Width="80" Visible="true"></asp:TextBox>

<asp:TextBox ID="TextBox1" runat="server" onchange="javascript:SetV(this.value);" Text="50"></asp:TextBox> [code]...

View 27 Replies

AJAX :: Run Time Popup Control Extender?

Mar 31, 2010

I have a bunch of link buttons which I crate at runtime. Now when the user clicks the link button I generate a gridview based on the selection. I got all this to work.Now instead of showing it just like a gridview I would like to attach a popup to the link buttons I created at runtime and show them as a panel popup with the gridview in it.How do I do something like this?

View 6 Replies

AJAX :: Trying The AjaxListSearch Extender Control But It Is Not Working?

Aug 26, 2010

I been trying the AjaxListSearch extender control but it is not working...I added a listbox and added the ajaxlistsearchextender on it.I get this error :Error : 'Sys.Extended.UI.ListSearchPromptPosition.Top' is null or not an objectI also try an ajax combobox and same thing.... this is the error I received :Sys.Extended.UI.PositioningMode.BottomLeft is null or not an objectthis is my code :

<
asp:ScriptManager
ID="ScriptManager1"

[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved