AJAX :: Appearance In An Incorrect Position On The Window
Mar 8, 2011
I have a customized HTMLEditor with less buttons. Nothing very special.I use this HTMLEditor in a User Control (ASCX) that has a ModalPopupExtender.
[Code]....
When I open the modal popup,the HTMLEditor appears and I can click the button to select a color without problem.The issue comes when I scroll the page down and opens the popup again.The color selector, the list of colors that open when I click the color selector,appears in an incorrect position on the window. And if I scroll a little bit more, the list of colors will not appear anymore.The same happens with the popup when I create a link.The popup to write the link and select the target appears in strange positions.It seems that the initial position of these popups depends on the scroll of the whole page.it makes the editor useless.
View 1 Replies
Similar Messages:
Mar 15, 2010
The Validator Callout Extender used to stretch the document wider if it was attached to the right side of an HTML element that was near the right edge of the document.At some point in the recent past, this behavior was modified to cause the popout to move to the left side of the html element, but the popout still points to its left.This behavior can be seen by going to the demo pages, narrowing the window to just beyond the page width, and then causing the second html input's validation to fail.I would like to know how to force the callout extender to the right-hand-side like it used to do, or have it automatically redraw itself as a left-hand popout if it jumps to the other side.
View 3 Replies
Jun 13, 2010
the dropdownextender works fine until I scroll down the page, see the following screenshots.
View 2 Replies
Feb 15, 2010
I have a simple question : in the output window when you build a solution, how to change its behavior so that files with errors do not appear with their full path? I only need the file's name, not its full path.
The reason is I am using Visual Studio to build projects whose files are in very very deep folders (paths >400 characters), which messes up the output in a very annoying way...
View 1 Replies
Feb 23, 2010
i open a new window with:
<a href ="javascript:NewWindow =window.open('Default.aspx', 'NewWindow' , 'width=400, height=450'); NewWindow.focus()">Hilfe</a>
at the moment the new window appears in the upper left corner. how can i set the position, so it appears somewhere else?
View 1 Replies
Jun 18, 2010
After the validators were put into a table, their appearance was completely messed up. The worst is the disappearance of the background. The background has been restored by setting a default skin for all ValidatorCalloutExtenders, but now they are just simple rectangles containing the exclamation mark and the error message adjacent to the target control. The callout look is gone.
View 1 Replies
Nov 9, 2010
In web application, i tried scrolling the window vertically by increasing a y axis height to 500 with a javascript that is attached to OnClientClick event of a asp.net button control with id Button1. The script i have used is
<script language="JavaScript">
function scrollToWindow()
{
window.scrollTo(0,500);
}
</script>
and the button code is as follows
<asp:Button ID="Button1" runat="server"
Text="Scroll to bottom" OnClientClick="scrollToWindow()" />
If i run this page and click that button, the page scroll is not working properly. when i put alert inside that script and debug, i found that the page is actually scrolling to 0,500 but again its rendering to its normal position because of some reasons. Overcome this issue and let me know the reason behind that?
View 3 Replies
Aug 31, 2010
I'm using the following span to open a page in a new window. What is INCREDIBLY odd is that it is exactly the same code from three different pages, but the first refuses to open in a new window. The only difference is that the first example resides within an Ajax Accordian Panel so I suspect that it might be an Ajax related issue.
[Code]....
View 2 Replies
Nov 26, 2010
how to freez parent window when opened pop up window!
View 3 Replies
Aug 18, 2010
i found that for X & Y co-ordinates value of the Ajax toolkit dragPanel is very easily calculated from this article
Retain position of a DragPanel Extender after postback using ASP.NET AJAX
but i need to store the value in database and while page_load() i need to render the control as per the Co-ordinate values from the database .
From the above solution everything is fine except that i need to do it with code behind(from server side).
and i don't know a JavaScript a lot .
View 1 Replies
Jun 2, 2010
I have a textbox for date input and I used a MaskedEditExtender to set the Mask="99/99/9999": here is the code:
<asp:TextBox runat="server" ID="tbDate" Width="80px" />
<ajax:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="tbDate" Mask="99/99/9999" MaskType="Date" />
In my code when the page loads I need to set the tbDate to readonly, then when the user enters some other info on the page I will make tbDate editable (not readonly), I did all these using javascript by setting tbDate.readOnly = true/false. However, when
going from readonly to editable, when the tbDate field receives the focus, the mask __/__/____ appears, but when the user starts typing the first digit, it pushes the mask as if the mask was part of the value, so it becomes something like 12__/__/____ instead
of 12/__/____. If I commented out the code that makes the tbDate field readonly, then the mask works as expected.
View 2 Replies
Jan 13, 2010
i have a div in my page, with position absolute i want change the position TOP if i write;
div.style.remove("top")
style.add("Top","300")
does not happen nothing.
do you know how can i do it?
View 4 Replies
Jan 11, 2010
I'm trying to set the appearance of a Login web control, but I'm having quite a few problems. As far as I can tell, I've set everything correctly, but for some reason control still isn't displayed correctly:
a) The width of the two TextBox controls ( with IDs UserName and Password ) should be equal to 70% of table's width, but it isn't, even though I've set their width attributes.
b) If table cells containing lblPassword and lblPassword controls have their text-align property set to center, then lblPassword and lblPassword overflow. Why is that?
[Code].....
View 1 Replies
Sep 15, 2010
I am working with a sql server database with about 50 stored procedures. The database and stored procedureswere not created by me. The stored procedures all begin with a number in their name.
Example: 17P_Comsetter
The problem I am having is that if I try and execute the stored procedure at the command line in Query Analyzer,the query analyzer appears not to like that the stored procedure begins with a number. For example:
If I try an run the stored procedure as follows:
EXEC 17P_Comsetter
Then I get the following error message:
Msg 102, ..... Incorrect Syntax near '17'
I am using SQL server 2005. Does anyone know why I am getting this error message?
View 1 Replies
Nov 11, 2010
I have a buttonfield which is being handled by the gv_RowCommand function to Show() the modal popup extender which will then do the actual submission of data. When I actually try it out, the ID which is being displayed on the popup is not of the index of the row that triggered the Command, but the previous one. If no row is actually Selected in the beginning, no value pops up. Here's the source... I need help resolving this so that the ID of the row actually selected is displayed in the label. That way I can use that value for the commands that will then be executed by the modal panel's buttons. MPE Panel
[Code]....
GridView
<asp:GridView ID="gvFillReceived" runat="server" AllowPaging="true" Width="95%"
View 4 Replies
Mar 17, 2011
i have a update panel and when a link button is fired i need to set the scroll position to the top. i need this to happen in the code behind, i have tried the following but it wont work.
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "srcoll_0", "window.scrollTo(0, 0);", true);
View 3 Replies
May 11, 2010
I am working on printing Application that should gave the user the ability to change the position of the FieldsSo I decide to build a user control as following
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PassportDataItem.ascx.cs"
Inherits="TestShadowImage.PassportDataItem" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
[code]...
View 1 Replies
Sep 6, 2010
Am running asp.net web application.I need to modify the appearance of my web page..I want to bring a table that contains some labels and textbox to the centre of the page..I changed the align to centre..it is not working...i changed the padding pixels which is in default...it is also not working out...i feel CSS in not applying.
View 3 Replies
Jul 7, 2010
I implemented autocomplete extender,functionality is working great but my issue is with CSS.It works as expected in Firefox(it applys all stylesheets perect) but in IE it is not behaving as expected it is showing the list about 10 pixels left to the text box.
googled couple of things but none of them were working for me.
My stylesheet:
.listItem
{
background-color: white;
padding: 1px;
}
.highlightedListItem
[Code]....
View 1 Replies
Mar 3, 2011
I create a webusercontrol where there is a dragPanelExtentender. I have had problems in setting the position of this webusercontrol (dragpanel) on page. Is it possible to set position of this component in the with specified x,y position of page from code behind?
View 2 Replies
Mar 25, 2010
I have a form that contain many field must filled.
I use Asp Required validator and ajax validator callout to make a cool error message.
I put that form into box which have scrollbar. (Not IE Scrollbar)
Running the application then try to scroll the form with that scrollbar.
Then pressing the button to trigger the validator required.
Finally the message is displayed but the message is not in correct position. It is above suppose to be.
View 2 Replies
Sep 21, 2010
i am using a datalist and in this i have a table when i am click on a button then popup display the table .but the position is fixed i want to change the position of popup dynamically as we have many button
Code is-
<table id="tb1" runat="server" width="50%">
<tr>
<td style="background-color: #A1CFF6; border-width: 1px; border-style: groove">
<asp:Image ID="imgClose" runat="server" ImageUrl="~/image/close.gif" ImageAlign="Right" />
<asp:Label ID="lblConInfo" runat="server" Text="Contact Information" Font-Bold="True"
Font-Size="Small" ForeColor="#678FE0"></asp:Label>
<br />
<asp:Label ID="lblName" runat="server" Text="Name:" Font-Bold="True"></asp:Label>
<asp:Label ID="lblFName" runat="server" Text='<%# Eval("c_Fname") %>'></asp:Label>
<asp:Label ID="lblCity" runat="server" Text="City:" Font-Bold="True"></asp:Label>
<asp:Label ID="lbl_city" runat="server" Text='<%# Eval("c_city") %>'></asp:Label>
<asp:Label ID="lblPin" runat="server" Text="PinCode:" Font-Bold="true"></asp:Label>
<asp:Label ID="lbl_PinCode" runat="server" Text='<%# Eval("c_pincod") %>'></asp:Label>
</td>
</tr></table>
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" PopupControlID="tb1"
TargetControlID="btnEnquiry" BackgroundCssClass="modalBackground" CancelControlID="imgClose"
X="200" Y="200" Enabled="true">
</cc1:ModalPopupExtender>
View 1 Replies
Jan 24, 2010
I have a sample in the attach. Why accordion not save a position if click on "MAcK2"?
It is link (I cannot use "Insert/Edit link", show blank window)
[URL]
View 3 Replies
May 7, 2015
while i am using Ajax (calender extender) on textbox when i click at first time click the calender show on page top side next time show on textbox side correctly.
<asp:CalendarExtender ID="CalendarExtender4" TargetControlID="txtfrm_date" Format="d/MM/yyyy"
runat="server">
</asp:CalendarExtender>
<asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="txtfrm_date"
FilterType="Custom,Numbers" ValidChars="/">
</asp:FilteredTextBoxExtender>
View 1 Replies
Mar 7, 2011
I´m using a template from microsoft´s webdev.
I have a nested masterpage and in the childpage of the second master I have a treeview. Now I want to change appearence of the nodes in it (like the color), and I´m not able to do that. It doesn´t say anywhere if there´s a section of the css stylesheet that´s being applied.
View 6 Replies