ExtJS Window Show Markup Already On Page?
Feb 23, 2010
The page markup:
<table style="display: none" id="myTable" runat="server">
<tr>
<td>First Name</td>
<td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>Last Name</td>
<td><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
</tr>.....
View 1 Replies
Similar Messages:
Sep 27, 2010
So the code below is called when a user selects Save on an ExtJS popup modal window. This window ONLY contains a combobox. Now, sometimes when a user saves this, and then re-opens it later on, the combobox will appear BEHIND the window all grayed out, unable to get to. Other times, it will be fine and work, and no difference in events happening either time, just complete utter inconsistency.Does anyone know what this could be?
var changeProductOK = function() {
var win = getChangeProductWindow();
if (win.subProductId.getValue() == '') {
[code]...
View 1 Replies
Feb 9, 2010
I have a web application with a Master Page, two pages in my project needed to be out of the master page template and display different styles so I indicated the folder that contains the style sheets for each one of my pages like this:
<%@ Page Language="vb" AutoEventWireup="false"MasterPageFile="~/Site1.Master" CodeBehind="Welcome.aspx.vb"
Inherits="B0_1.Welcome" StylesheetTheme="Default" %>
(or StylesheetTheme="Print" accordingly) [code]...
App_Themes directory contained only Default
The application runs ok but every time I want to modified something the first time I open the page in the design view shows me the following error:The page contains markup that is not valid when attached to a Master Page correct the problem in the code view
Then I click view code and it is highlighted the wrong section that is always all what is in the ContentPlaceHolderID="head".If I cut this bit, go to the design mode and then go back to the code mode and paste the bit of code again I can see the design mode without problems and switch to the code view as well without problems. It is very anoying and I don't know if it will affect
me in other ways.
View 2 Replies
Mar 10, 2011
I have a login page that is loaded in popup window (colorbox) and after user logs in it should be closed and parent window should be loaded with new page.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Do While reader.Read()
If Trim(reader("ZAP").ToString()) = Trim(textBoxZap.Text) Then
Session("A") = "1"
Response.Redirect("~/default.aspx")
Else
lblErr.Text = "incorect"
End If
Loop
So once the buton is clicked and user name and password is corect popup window should be closed and user redirected to default aspx.
View 1 Replies
Dec 17, 2010
I am hoping someone has experience with this, but I am loading a window from a link on my main page. The window loads an ASPX page via the window's loadmethod of iFrame. The aspx page has its own update panel on it and I was wondering how I can call the window's "spinner" / process indicator while the page is processing. I have looked at the documentation on some online information about it but I am not sure how to implement it.
View 1 Replies
Dec 31, 2010
private ListDictionary parameters;
public ListDictionary Parameters
{
get
{
if (parameters == null) parameters = new ListDictionary();
return parameters;
}
set
{
if (parameters == null) parameters = new ListDictionary();
parameters = value;
}
}
can i set such property in the markup of ASP.NET page? and how?
i mean something like <uc1:CustomControl Parameters="?"
View 2 Replies
Mar 22, 2011
I have added a favicon to my site but it will not appear. I have the following two lines in the master page markup:
[Code]....
When the first page that uses the master page is rendered in the browser, these links are:
[Code]....
This is as I would expect yet the favicon does not appear. It appears fine on any basic html pages but simply won't on any pages that are based on the master page.
View 2 Replies
May 6, 2010
I have one web application in which I am calling one window application. When I call that win app, it runs in background means it shows only in task manager but does not show any window of that application. I have searched for this on MSDN support and do as directed, but nothing result.
View 3 Replies
Dec 25, 2010
tell me how I can implement Model Popup window on Contact Form
View 4 Replies
Apr 4, 2011
I've setup an ItemTeplate like so in a GridView:
<asp:TemplateField HeaderText="Building">
<ItemTemplate>
<asp:Label
[code]....
View 1 Replies
Jun 24, 2010
I have created a web user control called Activity. I have defined a public-facing event on that web user control called OnActivityDelete. There is a delete button in the Activity control. When the delete button is clicked, the Activity control fires the OnActivityDelete event. I am using this web user control in a repeater. I assign an event handler to the OnActivityDelete event on the repeater's item data bound event. When I click the delete button for the Activity control, the event fires from the Activity control, but it never hits the event handler in the page that's using the control. (I have stepped into the code with the debugger and confirmed this behavior).
My suspicion is that this behavior has something to do with the fact that the event handlers are added in code behind when I bind the repeater to a datasource, which I only do if the page is not posting back.Is it possible to define the event handler for the Activity control in the markup of the aspx page? If so, will this solve my problem?If not, do I have to bind the repeater and hook up to the events every page load in order to solve my problem (this works, I just tested it), or is there some viewstate trick to getting the events to persist? Markup of Repeater on page:
<asp:Repeater ID="rptrActivites" runat="server" EnableViewState="true">
<ItemTemplate>
<div class="activity">[code]...
Page's code behind:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
GetActivities() [code]....
View 1 Replies
Jan 10, 2010
I am using EXT JS and .NET, Basically I am loading a JSON object into the POST and trying to send this to my asp.net page. I assign the JSON object into the ExtJS 'jsonData' parameter
[code]....
So then in VS am trying to extract this data from the .NET (HttpWebRequest) Request object. I have scoured the object for this post data and cannot seem to find it anywhere. i figured it would be in my Request.Params property, but no luck. not anywhere that i can find.
View 1 Replies
Dec 13, 2010
I need to save some data and return the ID that is created in the SQL 2005 database. I need the ID to pass to another object before saving that so I can associate them correctly.
What is the best way to accomplish this with Ext? Is there anything built into the Framework that makes this simple?
function AddPromotionType() {
var currentDate = new Date();
var newTypeJsonObject = {
promotionTypeId: '0',
promotionType: Ext.getCmp('txtPromoType').getValue(),
updatedBy: userid,
[Code]....
View 1 Replies
Oct 18, 2010
So I have two pictures of the weirdness that is occuring.As you can see in the picture above, the scroll bar on the right hand side is being cut off a little bit by the screen, and even when you scroll to the right, you don't get the bar back, it remains cut off.
Here is the other scenario:
Here, you can see that when I scroll down in this grid, the scroll bar kind of fits into the bottom of the grid and doesn't even go all the way down. You need to manually click into the grid and hit the down arrow to get the rest of the way down.
Edit: Here is the code to generate the grid (Ext created through VB controls):
Dim VehicleOptionsGrid As New Akcelerant.Framework.WebControls.Grids.Grid
With VehicleOptionsGrid
.ID = "VehicleOptionsGrid"[code].....
View 1 Replies
Jan 26, 2011
How to show value parent window from i frame (Jquery write in parent window)
Parent window
[Code]....
View 3 Replies
Jun 2, 2010
I was having a discussion with a co worker about some controls I implemented. He objected to my use of dynamicly instantiating controls in the code behind, because it will be slower than specifying the control in the markup. I thought he was talking about output cacheing which to my understanding only caches the rendered output of a page not the instantiated Page object. He said no its a different type of caching. Unfortunately he was unable to give me any documentation to backup the claim so I am wondering if anyone here has ever hear of any such type of caching, and if so is there any documentation on it that I can refer to.
View 5 Replies
Sep 8, 2010
Is it possible to use a session variable in the markup aspx page ?
Cause I have a gridview that use an sqldatasource and in the UpdateCommand I want to include a the session variable : session("username").
Ex :
UpdateCommand="UPDATE departments SET DEP_name = @DEP_name, DEP_active = @DEP_active, DEP_date_stamp = CONVERT (CHAR(8), GETDATE(), 112) + ' ' + CONVERT (VARCHAR(8), GETDATE(), 108),
DEP_user_stamp = <% session("username") %> WHERE (DEP_mnc = @original_DEP_mnc)">
This give me an error :
Server tags cannot contain <% .... %> constructs.
View 5 Replies
Jan 25, 2010
How can I add custom properties into control objects in ExtJs.
For example :
[code]....
This control comes from server dynamically and I want to write my custom property as well like below :
[code]....
I tried it but it said undefined. Normally since JavaScript is loose, I can easily modify objects but in this case it wouldn't work the way I expected.
View 1 Replies
Feb 23, 2010
For a slick UI, I am deciding between using a client side library (JQuery or ExtJS) or go with the AJAX Control toolkit. I understand that the widgets supported by ExtJS rich library does not match what's there in the toolkit. What are the pros of cons of using one over the other?
View 3 Replies
Dec 16, 2010
I'm trying to build an edit column, but my routine isn't quite right for some reason. My value of "store" is not returning anything like I thought it would.
function editLinkRenderer(value, metadata, record, rowIndex, colIndex, store) {
if (store == V2020.ServiceStore)
return '<a href="javascript:editServices(' + value + ')">Edit</a>';
else if (store == V2020.PriceStore)
return '<a href="javascript:editPrice(' + value + ')">Edit</a>';
else if (store == V2020.PromoStore)
return '<a href="javascript:editPromo(' + value + ')">Edit</a>';
return "Edit";
}
I'm using it in my gridpanel like so:
{ header: "Edit", width: 60, dataIndex: 'serviceID', sortable: false, renderer: editLinkRenderer },
View 2 Replies
Sep 22, 2010
So I declare an ExtJS radio button object like this:
.AddExtObject("{xtype:'radiogroup', ref:'../AndOr', defaults:{name:'rdo-payee2'}, width:120, items:[{boxLabel:'And', checked:true, inputValue:'and'},{boxLabel:'Or', inputValue:'or'}]}")
When I do this:
if (checkWin.Payee2.AndOr.getValue() == 'and') {
fundingRec.set('IsPayee2RequiredToSign', '1');
} else {
[code]...
View 1 Replies
Jan 6, 2010
i am getting error using this syntax
this.Page.ClientScript.RegisterStartupScript(typeof(string), "Test", " alert('<%=Resources.Text.Header_Login%>');");
View 2 Replies
Mar 29, 2011
I have a modal popup extender in my page. I use the master page, because of some layout reasons
we commented default Doctype in masterpage. (
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]"
)
project is developed using VS2008, .NET3.5 .
I sepcified X="10" and Y="120" for modalpopup this works fine. but the problem is when the user scroll down the page he wont be able to see the modalpopup ( it always shows in the corresponding X,Y position). If i remove X,Y values horizontally it showing fine but vertically we are able to see only half of the popup window. how can we always show the popup window in the middle of the screen(eventhough user scrolls the page). I am using latest ajaxcontroltoolkit (3.5).
View 3 Replies
Sep 25, 2010
if any one login how to get user name and show in our web page
and how to get location of client side (Physically Ex-India -Delhi-Anand Vihar)
View 3 Replies
Mar 3, 2011
What is the best way to show the server-side generated HTML (full page) into a new popup window? It should be triggered upon clicking a button (causing a postback to the server).
Edited:
The HTML content are dynamically generated in the code behind and the content is full page (<html> ... </html>). Upon clicking a button on the web page, I would like to get the generated html content and pass it to the browser and show it in a new popup window. The content will be the final result (UI) not HTML tags.
View 3 Replies