Mobiles :: ModalPopup Extender And Safari?
Jul 15, 2010
Does anybody have experience using ModalPopup extender in iPhone/Safari? I added a ModalPopup and when I click on the button it does not run my server side code. I am sure that I did everything correctly and the same code works just fine in IE and Chrome. Here is a chunk of the code:
[Code]....
andProtected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
View 1 Replies
Similar Messages:
Sep 28, 2010
I'm putting this tag at the header of my HTML pages, trying to get the page to stop vertical scrolling on mobile browsers like iPhone Safari:
View 2 Replies
Sep 17, 2010
Is DragPanelExtender not working in Safari/iPhone? Same page works just fine in other browsers but not on iPhone.
View 1 Replies
Oct 8, 2010
Not sure if this issue should be posed here, but i try anyway:I have a webpage with a button, button click the webpage will write an image (in binary) to the response object, resulting the user can open or save an image.
Code:
response.ClearHeaders();
response.ClearContent();
response.AddHeader("Content-Disposition", "attachment; filename=abc.jpg");
response.AddHeader("Content-Length", binaryImageFile.Length.ToString());
response.BinaryWrite(binaryImageFile);
response.Flush();
response.Close();
Everything is fine in IE in Windows, but in Safari in IPad/IPhone, it is viewed in a seperate browser tab, with the binary image file written as a very long string.In Windows, i know you have to select a program to use to open a new file type for the first time, is this the case in IPad? that i need to select a program?
View 1 Replies
Feb 7, 2011
I have an application that works perfect in IE and FF but when opened in iPhone Safari the checkbox checked and button onclick functions do not fire. I have looked all over the web for the last few days and could not find a solution to this very frustrating problem. I hope someone has encountered this before and knows of a fix.
View 5 Replies
Nov 18, 2010
I had developed mobile web page in asp.net 2.0. This page is displaying with small font in safari on ipod touch and in iphone. for this i had copied iphone.browser definition file in
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIGBrowsers
folder and run the command aspnet_regbrowsers.exe -i in command prompt. Then 2 files with ASP.BrowserCapsFactory.dll and BrowserCapsFactory.cs are created. But there is no result.
View 3 Replies
Dec 14, 2010
when i click a button, the ajax modal pop up should float above the svg, which is a image object that formated as xml file underneath. it works all fine in IE and Firefox, but it's not working in safari.
In safari, the modal pop up is behand the svg rather than float on the svg, so far i had use the z-index and position in front end control, but none of them are working, the below is my aspx code:
table that holds the svg object:
[Code]....
table that has the modal pop up:
[Code]....
View 7 Replies
Mar 24, 2010
I have the following scenario:
arrival and departure dates have to be selected on a form, through 2 textboxes with a calendar extender each.
I validate the entries to check that no date before today is selected and to check that the departure is after the arrival. I used a rangevalidator and a comparevalidator.
In IE, Firefox and Opera it is working fine, in Safari (on windows) however both the validators go off even on entries that should be accepted.
It makes me suspect that the date format dd/MM/yyyy causes trouble for Safari.
(the dd/MMMM/yyyy also gave the same troubles in the other browsers, probably due to the dependency on UIculture)
The code is:
<tr>
<td>
<asp:TextBox ID="txtArrive" runat="server"></asp:TextBox>
<cc1:TextBoxWatermarkExtender ID="txtArriveWatermarkExt" runat="server"
Enabled="True" TargetControlID="txtArrive" WatermarkText="arrival date">
</cc1:TextBoxWatermarkExtender>
<cc1:CalendarExtender ID="ArriveCalendarExt" runat="server"
CssClass="MyCalendar" Enabled="True" Format="dd/MM/yyyy"
TargetControlID="txtArrive">
</cc1:CalendarExtender>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtArrive" ErrorMessage="please select arrival date"
Text="*" ValidationGroup="date" Display="none"></asp:RequiredFieldValidator>
<asp:RangeValidator ID="RangeValidator1" runat="server"
ErrorMessage="please make sure that your arrival date is later than today and not later than a year from now"
ControlToValidate="txtArrive" Type="Date" ValidationGroup="date" Text="*"></asp:RangeValidator>
</td>
<td>
<asp:TextBox ID="txtDepart" runat="server"></asp:TextBox>
<cc1:TextBoxWatermarkExtender ID="txtDepartWatermarkExt" runat="server"
Enabled="True" TargetControlID="txtDepart" WatermarkText="departure date">
</cc1:TextBoxWatermarkExtender>
<cc1:CalendarExtender ID="DepartCalendarExt" CssClass="MyCalendar" runat="server" Enabled="True"
Format="dd/MM/yyyy" TargetControlID="txtDepart">
</cc1:CalendarExtender>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtDepart" ErrorMessage="Please select departure date"
Text="*" ValidationGroup="date"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator2" runat="server"
ControlToCompare="txtDepart" ControlToValidate="txtArrive"
ErrorMessage="your departure date has to be later than your arrival date"
Operator="LessThan" Type="Date" Text="*" ValidationGroup="date"></asp:CompareValidator>
</td>
<td>
</td>
</tr>
The range validator gets its values in code behind on Page_load
RangeValidator1.MinimumValue = DateTime.Now.AddDays(1).ToShortDateString();
RangeValidator1.MaximumValue = DateTime.Now.AddMonths(12).ToShortDateString();
View 1 Replies
Jun 13, 2010
I got a Default.aspx which uses a Master.Page.
I added in the Default.aspx a Panel which I would like to be popup by clicking on LinkButton
I added the ModalPopup Extender,
set the TargetControlID="LinkButton1" PopupControlID="Panel1"and it didnt opened,
what I do wrong?
[Code]....
View 14 Replies
Feb 4, 2011
i have a page insert data to sql server. On the page there is a combobox and there is a button next to the combox box . when i click the button, open a modal popup extender, adds some data to database. I use gridview in the mpe. The problem is
<asp:Button ID="btnInsert" runat="server" Text="Add" CommandName="Add" CssClass="gridButtons"/>
[Code]....
i want to show alert message if the user presses the "Add" button without entering anything to the textbox.
View 2 Replies
Aug 4, 2010
i need some little help from expert.i bound a gridview using datatable but not record from database but datatable with viewstate.so one by by row i added in a gridview but not in database.i do like following...
i bound a empty query(like 1=2) in a gridview and in EmptyTemplate i have a button.when user click this button a Modalpopup display and user entry the modalpopup and when submit the button of modalpopup then one row is added in the gridview and it is working fine. below is code.
[Code]....
but problem is in EDIT time in same gridview.there is a Edit button and i need when user click on the edit button the same popup will display with this row's record and user modify some data there then when he click popup button then same row will be modify.below is my code Add as well as edit.when i debug then record is display in modal popup control but modal popup display with blank record.
[Code]....
View 2 Replies
Jun 28, 2010
I have developed a website in VS2008 express. I want to modalpopup extender that is displayed with the click of a button template field in a grid.when i do this ,i assign the id of button as TagetControlId of modalpopup,the error is that "The TargetControlID of 'ModalPopupExtender1' is not valid. A control with ID 'btnEdit(button id)' could not be found." try to assign targetcontrolid at run time by findcontrol method at page load/onrowbound event
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
Nov 1, 2010
I am trying to use ValidatorCalloutExtender in ModalpopUp but i am unable to show it on panel its shows behind my panel ..Is there any solution for this thing..??I am able to validate the textbox but want to show the message in ValidatorCalloutExtender
View 2 Replies
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
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
Feb 23, 2010
I have an AJAX PopupControlExtender nested within a modal popup. When the pop up control is shown, it is hiding behind the modal popup and have tried setting the z-index of the pop up control but it simply will not appear above the Modal popup.Please suggest me if there is any other way to make pop up extender appear on top of modal extender.
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="TestPage.aspx.cs" Inherits="TestPage" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="Server">
[code]...
View 1 Replies
Jan 4, 2011
How to open a new page using ModalPopup extender
View 3 Replies
Jan 16, 2011
i have a webpage with name Home.aspx which is having an iframe.... In that iframe iam loading a webpage (with name) test.aspx..
test.aspx has modalpopup...
Now the problem is modalpopup is not working when i run home.aspx but modalpopup working fine when i run test.aspx alone..
View 4 Replies
Jan 18, 2010
I do try to use the modalpopup extender, it works with the client button click but not with the server side method.
I even used the document.readyState == "complete" javascript method to be shure the whole page is loaded.
But I'm still unable to get that modalpopup extender control.
View 6 Replies
Sep 21, 2010
i have a grid view and on clik of link byutton i open moral extender...now how can i pass the value from grid to moral extender.i have checked few links here but that dint give me much idea...please suggest me on some code..
[Code]....
View 5 Replies
Sep 21, 2010
I have a radio button list and it is populating data from database.
I want to show a modal popup extender when someone clicks a specific value in the radio button list.
For example:
display the modal popup when radiobuttonlist.value=="13".
View 5 Replies
Mar 20, 2010
I have an iframe inside my main page. There is a modalpopup extender inside the iframe page. So when the modalpopup is shown, the parent of the modalpopup is the iframe body and the main page parent body. Thus the overlay only covers the iframe and not the entire page. So I want to open the modalpopup extender in the iframe's Parent window.
View 3 Replies
Apr 15, 2010
I am using ModalPopupExtender of Ajax Control Toolkit(v2.0.50727) as shown in the following way.
The problem iam facing is whenver i try to show the Popup ,Postback of entire page is happening which is cauisng lot of performance issues.
how to avoid the post backs when using ModalPopupExtender ..
<asp:UpdatePanel
ID="upmodal"
UpdateMode="Conditional"
runat="server">
<ContentTemplate>
<asp:Panel
ID="pnlCmnSrc"
runat="server"
CssClass="modalPopup"
Style="display:
none">
<table>........
View 3 Replies
Oct 29, 2010
I am using the newest AJAX control toolkit. What I want to accomplish is I have a modal popup panel with cascading dropdown list and radio button inside. The issue is the postback. RadioButton and Cascading dropdown have postback so that will cause the modal panel disappear after the postback. I just want the panel disappear after I click the ok button on the panel and send the data into a field in a page. What I did was I placed the update panel inside the popup panel. If I did that, I would see the dropdown lists automatically refresh every time by accessing the webservice. If I placed the update panel outside, the dropdown would not be triggered. Even I set the trigger for the Update Panel, it will not see that way.
View 2 Replies