.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Asp.net server controls in BlackBerry Browser

Posted By: roopeshreddy     Posted Date: August 21, 2010    Points: 0   Category :ASP.Net
 
The article Asp.net server controls in BlackBerry Browser was added by roopeshreddy on Monday, May 24, 2010.

Hi All,Some of the asp.net server controls(.NET 2.0) like DropDownList control, LinkButton etc., has postback property. When User clicks or selects these controls, a Postback will occur. Let us consider LinkButton control, which is extension of the HyperLink


View Complete Post


More Related Resource Links

How to make server controls browser compatible

  
The article How to make server controls browser compatible was added by suresh.mekkattil on Saturday, May 14, 2011.

Introduction In modern web development, we need to check the browser compatibility for our web pages. This can include changing the css classes, style to fix the design issues. Using ASP.NET we can check the browser compatibility without writing a single

Data Points: Report Controls in SQL Server 2005 Reporting Services

  

Reporting has always been one of the dark arts of development. The tools typically seem to do just enough to get you to a certain point, then leave you to find workarounds to solve more complex issues.

John Papa

MSDN Magazine July 2006


All my server-controls became unrecognized!!! like there's compilation error or web.config missing!

  

hi!

please help - the problem is in post subject.

I have lots of warnings with following text:

"Warning 10 Element 'HyperLink' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\Users\Pavel\Documents\Visual Studio 2010\WebSites\BioWebSite\ToScientist.aspx 26 18 C:\...\BioWebSite\" 

But web.confg is there! And there's no compilation error!

Site builds just fine. And If I upload it to my hoster - it works!

 

But with all these errors I cant add controls to pages - VS2010 adds hyperlink without ID, and intelisens stoped to work.

Strange, but in my other project (web-application) I have no such difficuty.


Cannot start SQL Server Browser

  
Hello, I use SQL Server 2005 for multi-user access.  In the Surface Area Configuration, I changed the protocol from TCP/IP to Named Pipes and restarted the service.  Then I went to SQL Server Browser, stopped it and clicked on Start to restart.  I am getting a message "An error occurred while performing this operation".  I am not able to get the Browser started.  Any help would be greatly appreciated.

SQL Server 2005 - Installation in Cluster Environment - "Service SQL Server Browser (SQLBrowser) fai

  
Windows Server 2003 R2 Enterprise Edition SP2 32-bit All updates and patches installed Two-node cluster environment configured. Cluster functions perfectly. Trying to install SQL Server 2005 Enterprise Edition (32-bit) as a clustered application. Installation proceeds fine until it begins to install the SQL Server Database Services product. Status window says "Starting Services. Service: SQL Server Browser". Error message is presented: "Service 'SQL Server Browser' (SQLBrowser) failed to start. Verify that you have sufficient privileges to start system services". SQL Server Service Account is in the Administrators group on both local systems, and is a domain account. Account used for the installation is in the Administrators group on both local systems, and is a domain account. Have cancelled out of the install and rebooted both servers numerous times. Exact same error continues to occur. Cluster is active and all resources are owned by node #1 - the node where SQL Server Installation is being run. In the event viewer, I see: Event ID: 10 Description: The SQLBrowser service was unable to establish SQL instance and connectivity discovery". I am also seeing errors like: Source: SQLBrowser. The SQL configuration for SQL is inaccessible or invalid. Source: SQLBrowser. The Configuration of the AdminConnection\TCP protocol in the SQL instance xxxxxx i

why runat="server" attribute is required for ajaxcontroltoolkit controls?

  
the doubts i have may looks silly,i started my carrier in dotnet recently,1)we are calling them as client side controls,then what is the need for runat server attribute?2)<asp:Button ID="Button1" runat="server" Text="Button" /> <asp:ConfirmButtonExtender ID="Button1_ConfirmButtonExtender" runat="server"              ConfirmText="Really?" Enabled="True" TargetControlID="Button1">  </asp:ConfirmButtonExtender>when i execute the above code,i observed that in status bar message as "connecting to localhost",if they are client side controls what  is the need of going to local server,why it is happening?Thanks in advance.

Binding Expressions in server controls

  
Hi i'm trying to do the following:<asp:LinkButton ID="lnk" runat="server" OnClientClick='func(<%# Request("ID") %>)'>click</asp:LinkButton>func is a javascript function that takes 1 argument "ID". but this gets rendered as the following:<a onclick="func(&lt;%# Request(&quot;ID&quot;) %>);" id="lnk" href="javascript:__doPostBack('lnk','')">click</a>instead of onclick="func(1)" for example.the problem is that the < is rendered as &lt; and " is rendered as &quot;Is there a way to solve this problem?thank you.

Internal server error exception on search results page when no language is set in browser

  
We have some users who receive an internal server error exception when they enter a search query on our SPS 2010 site. The SharePoint log shows the following: Internal server error exception: System.ArgumentNullException: Value cannot be null.  Parameter name: The property RequestedLanguage cant not set to NULL     at Microsoft.Office.Server.Search.Query.Location.set_RequestedLanguage(CultureInfo value)     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.CreateLocationList()     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.SetPropertiesOnQdra()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.EnsureWebpartReady() System.ArgumentNullException: Value cannot be null.  Parameter name: The property RequestedLanguage cant not set to NULL     at Microsoft.Office.Server.Search.Query.Location.set_RequestedLanguage(CultureInfo value)     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.CreateLocationList()     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.SetPropertiesOnQdra()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.EnsureWebpartReady() After some more diggin

Putting Server controls on top of each other

  
My problem is this...I have 2 server controls. A control that we can call 'SwapImageControl' where the user can change images via AJAX and a 'DoctorNameControl' where a user can change the dr. name via AJAX... The 'SwapImageControl' has a image control in it that will span over the entire table row... I am wanting to place the 'Doctor Name Control' over the 'SwapImageControl' so the user can still see the DoctorNameControl label. I tried using opacity on the Dr. Control in css but it looks terrible...Thanks in advance,Travis

VS 2010 Stopped recognizing server controls

  
I have a zillion warning messages when I view my webform "Validation (): Element 'menu' is not supported" and every "<asp:WhatEver" tag has a green squiggly line under it.It looks like this:I'm using VS 2010 Pro, and have tried reinstalling it.

SQL Server Browser missing on SQL Configuration Manager

  
Hi guys! Strange Issue, after installing SQL Server 2008 R2 Std on a Windows 7 the SQL Server Browser is missing on SQL configuration manager, although the service appears on the services.msc console. Log on as an user authenticated with administrator priveleges. Firewall is off. Can you help me?      

Server.HtmlEncode to all controls

  

Hi,

I have used Server.HtmlEncode(MY TEXT) to display data,

I have setted the  page property validateRequest="false" in .config file,

all this is working fine.

since I have large application using hundreds of labels and text boxes to show data,

so, now it is almost impossible ( time consuming ) for me to place Server.HtmlEncode(MY TEXT) every where while setting data to them e.g. in label.text, textbox.text, etc

is there is any way to set the property some where and all the labels and text boxes automatically use Server.HtmlEncode() when i set there textSmile


Initialize background image url in css file into custom server controls

  

hi, 

i registered an image in AssemblyInfo.cs like this:


[assembly: WebResource("MyControl.Icons.bold.png", "image/png")]


.cs

protected override void RenderContents(HtmlTextWriter output)
        {
            output.Write("<p class='BoldButtons' onclick='event4()'>event4 </p>");
            
            
        }




now i want to initialize that image in css file for background-image but it dose'nt work.

my css file is:


.BoldButtons
{
	background-image: url("MyControl.Icons/font_bold.png");
    background-repeat:no-repeat;
	border: 0px; 
	height: 21px; 
	width: 21px;
}

i also try with this :


background-image: url(<%=WebResource("MyControl.Icons.bold.png")%>);

but it dose'nt work.

please help me? 





How to configure server browser

  

hi guyz,

How can I configure the server browser and what is the services needed by it.

 

and can I make a permenant conection to a database using the server browser (using internet connection) .


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend