asp.net link buttons do not work when browsed on mobile phone
Asked By Pranay Singh
08-Feb-10 03:25 PM
I have a situation here, I have website home page which my client can view well on his blackberry mobile phone but I have link buttons on that page which redirect the users to other pages ..just Response.Redirect ............simple code.... but when he clicks on the link, the home page just does a postback. Links are not working on cellphone........... on regular website they are working fine.
Thanks
re: asp.net link buttons do not work when browsed on mobile phone
Sreekumar P replied to Pranay Singh
09-Feb-10 03:31 AM
hi,
Instead of Linkbutton if that redirect url is not variant then u can use HyperLink
Just give that hyperlinks Navigation URL to that url
or use simple <a href="url">Text</a> tags
re: re: asp.net link buttons do not work when browsed on mobile phone
Pranay Singh replied to Sreekumar P
09-Feb-10 08:42 AM
Awesome!!! Thanks Sreekumar....its working like a charm.
END OF POST
Frequently asked Interview Questions in ADO.Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B Boxing and Unboxing ? (B) What is the difference between VB.NET and C#? (I) what is the difference between System exceptions and Application What is a satellite assembly? (A) How to prevent my .NET DLL to be decompiled? (I) what is the difference between we make a choice? (A)What is CodeDom? Chapter 2: NET Interoperability (I) How can we use COM Components in .NET
HYPERLINK hi, i am learning c#.net . in my work i want to get a new textbox when i click on a hyperlink i.e., i am giving an option for mobile no they dont have mobile no they will click on a hyperlink called landline so that they will get an option like and textbox to enter number) and when you click the hyperlink, in the click event show them. . If you are doing this in asp.net, you can have onclick event of the hyperlink and do this in javascript stype.display = "inline" would make the Land line textbox visible false and When click on Hyperlink button Just make the landline text box to visible. . . Sample
Visual Studio or Visual Web Developer, then create a new ASP.Net folder by right clicking on the project in Solution Explorer, followed by Add ASP.Net Folder, then App_GlobalResources. Next, right click on this new folder GlobalLanguages.WelcomeMessage % > < / a > Setting the Value of a Label in C# Code behind (preferred) Label1. Text = Resources. GlobalLanguages . WelcomeMessage ; Reading the The example uses three languages – English, French and Italian with buttons to change the language. I am also outputting the date the correct day for the language. please refer the following link for more information http: / / www.codeproject.com / Kb / aspnet / localizationByVivekTakur microsoft.com / en-us / library / c6zyy3s9.aspx http: / / http / / www.c-sharpcorner.com / uploadfile / ankithakur / globalization_localization_in_dotnet_csharp07032006023510am / globalization_localization_in_dotnet_csharp.aspx http: / / www.dotnetsizzler provide the resources like text in different languages for labels, buttons and other controls. Example: In order to use your web text automatically; you need to provide the translations. Globalization in ASP.NET AJAX In ASP.NET AJAX, script manager control is
Page.RegisterStartupScript Problem This code is what I use to redirect a page using javascript, and this is how I execute meta http-equiv = "Pragma" CONTENT = "no-cache" > < title > AddDealerReq< / title > < link href = "FOS.css" rel = "stylesheet" type = "text / css" / > < style type false; } < / script > < form id = "form1" runat = "server" > < div > < div > < br / > < asp:Label ID = "Label8" runat = "server" Font-Bold = "True" Text = "Create Requirement" Width = "312px" > < / asp:Label > < br / > < table > < tr > < td style = "width: 75px" class = "labelRight Model:< / td > < td style = "width: 196px" > < asp:DropDownList ID = "cboModel" runat = "server" Width = "208px" AutoPostBack = "True" > < / asp:DropDownList > < / td > < td class = "style4" > < / td > < / tr > < tr > < td style width: 75px" class = "labelRight" > Variant:< / td > < td style = "width: 196px" > < asp:DropDownList ID = "cboVariant" runat = "server" Width = "208px" AutoPostBack = "True" > < / asp:DropDownList > < / td > < td class = "style4" > < / td > < / tr > < tr > < td style class = "labelRight" > Color:< / td > < td style = "width: 196px; height: 26px;" > < asp:DropDownList ID = "cboColor" runat = "server" Width = "208px" AutoPostBack = "True" > < / asp:DropDownList > < / td > < td class = "style5" > < / td > < / tr > < tr > < td class
TEXT" ); }); < / script > < / head > < body > < form id = "form1" runat = "server" > < div > < asp:Label ID = "lblName" runat = "server" Text = "Label" > < / asp:Label > < asp:HiddenField ID = "hdName" runat = "server" / > < asp:Button ID = "Button1" runat = "server" Text = "Button" OnClick = "Button1_Click" / > < / div lblA1.Text means i didnt get any value. <%@ Page Language = "C#" AutoEventWireup = "true" CodeFile = "Astrology.aspx.cs" Inherits = "Astrology" %> <!DOCTYPE html org / 1999 / xhtml"> <head runat = "server"> <title> Untitled Page< / title> <link rel = "stylesheet" type = "text / css" href = "stylesheet.css" / > <script type height: 23px"> Suriyan < / td> <td style = "width: 81px; height: 23px;"> <asp:DropDownList ID = "Dropsuriyan" runat = "server" onchange = "changeText('lblR', this, 'Suriyan')" Width = "88px"> <asp:ListItem> 0< / asp:ListItem> <asp:ListItem> 1< / asp:ListItem> <asp:ListItem> 2< / asp:ListItem> <asp
Migration from ASP to ASP.net How to convert ASP site to ASP.NET site using C# http: / / www.asp.net / downloads / archived-v11 / migration-assistants / asp-to-aspnet hi, ASP.NET framework is very much different
have a doubt actually what is the diffrence between ADO.NET AND VB.NET, ADO.NET AND ASP.NET, ASP.NET AND VB.NET, C#.NET AND VB.NET PLS help well i will explain you
Difference and relation in Asp.net , c# and vb.net framework . I dont hv clear concept about asp.net , c# and vb.net . i wnt to know how they r related together and wht r the things make them a different framwork. asp.net support 2 language c# n vb to code. But then