Click here to Skip to main content
15,895,462 members
Everything / Server control

Server control

server-control

Great Reads

by James Johnes
Do you want to secure your nginx server? Do you want to prevent Google Chrome from name shaming your non-SSL domain? Well, here a perfect yet easy to follow guide to help you.
by atlaste
How to fix hiding controls in the Visual Studio user control designer
by Komail Haider
.Net control/wrapper for the Google NEW ReCaptcha API 2.0
by nuclear_sun
You can share a peer's desktop with any others using this software, designate the sharer and viewers in any way you can imagine. Detailed development document and user manual can be found in the Download.

Latest Articles

by James Johnes
Do you want to secure your nginx server? Do you want to prevent Google Chrome from name shaming your non-SSL domain? Well, here a perfect yet easy to follow guide to help you.
by nuclear_sun
You can share a peer's desktop with any others using this software, designate the sharer and viewers in any way you can imagine. Detailed development document and user manual can be found in the Download.
by Komail Haider
.Net control/wrapper for the Google NEW ReCaptcha API 2.0
by atlaste
How to fix hiding controls in the Visual Studio user control designer

All Articles

Sort by Score

Server control 

23 Jan 2018 by James Johnes
Do you want to secure your nginx server? Do you want to prevent Google Chrome from name shaming your non-SSL domain? Well, here a perfect yet easy to follow guide to help you.
3 Jan 2013 by Sergey Alexandrovich Kryukov
Somewhat strange and cryptic notation, I agree. It would be clear if runat="client" worked, but, to best of my knowledge, it does not in ASP.NET, or it would be a bogus. I cannot explain such assymmetric notation and I doubt the explanation would be rational.The idea of running at client is...
14 May 2014 by atlaste
How to fix hiding controls in the Visual Studio user control designer
8 Oct 2014 by Afzaal Ahmad Zeeshan
Simple answer is, client-side code cannot interact with Server-side code. However, once the server-side controls such as Buttons have been downloaded and converted to HTML, you can then interact with them using their HTML attributes.You can learn how can JavaScript stylize the HTML content...
24 Apr 2015 by Abhinav S
Use a source control like SVN or GIT to allow multiple developers to work on different or even the same pieces of code.This will also allow you to restrict access to some developers only.Find out more here[^].Regarding chat, you will find some links on the internet.Here you can find...
9 Aug 2015 by OriginalGriff
I'm not saying your numbers are wrong, but...Those are big numbers. 10,000,000 users a month is 13,000 per hour, 24 hours a day. This site has 11,000,000 members of which only 65,276 are "Online" - i.e. still have current Sessions - at this moment. Very, very little of the site uses HTTPS,...
28 Apr 2016 by Richard MacCutchan
If you are still learning then I would suggest you forget about glassfish and any other advanced subjects. Go to The Java™ Tutorials[^] and work your way through the tutorials until you feel comfortable with the basics.
7 Feb 2012 by Mohammad Dayyan
I wanna create a server control like the following :
5 Mar 2012 by Mohammad Dayyan
I could find the answer in StackOverflow: http://stackoverflow.com/questions/9189457/creating-nested-servercontrol-in-asp-net[^]
4 Sep 2012 by Taresh Uppal
Hi, I have created a project which creates excel sheets from the data base using microsoft.interop.excel library and its com objects.Everything works like charm on my localhost but when i deployed this project I didnt got any error neider the things worked for me. Even a try and catch...
4 Sep 2012 by barneyman
Use something like ProcMon[^] to try to work out where it's failingSpecifically, filter for the CLSID, the APPID and the interop/dll pathsAlso, examine the event log (security, and system) for more detailsDCOM security is a pain, the machine limits[^] sometimes obscure what you've...
19 Dec 2012 by bob39204
First, I really need this to be a server control. I feel that I am close, but although my bound fields retain their values across postbacks, my custom template (ITemplate) fields do not. It would be much appreciated if someone could tell me what I am doing wrong.The objective...First, as...
3 Jan 2013 by scarletwitch1990
i want to know whether there are other options other than runat="server".i know that runat="client" works in xfa. But does it work in Asp.Net?Sorry i am completely new to this field. So please Help!!!
25 Feb 2013 by Software Engineer 892
Dear Friends,am working on Asp.net, c#, SqlServer 2005.I have Two Textboxes FromDate and ToDate and I have two Dropdwonlist lists with Month & Year.I have Radiobuttonlist on my webpage, In this i have two items with Enable option.When I select one option enable, it should ENABLE...
25 Feb 2013 by Vani Kulkarni
Try this code: onselectedindexchanged="RadioButtonList1_SelectedIndexChanged"> protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e) { if (RadioButtonList1.SelectedItem.Text == "Enable Text") // Enable text...
11 May 2013 by Bipashant
Hi All,First of all sorry for my English,I am planning to built a application that can transfer file By Wi-Fi .For this i make a simple HTTP server and made "E:\trasferfle" folder as Root of Localhost and place a HTML file their and open it on Browser by address Localhost ,which open a...
12 May 2013 by Bipashant
Guys Please Suggest me?what to do?
27 May 2013 by akosisugar
Hi experts. ived just created an application in vb.net with a database. i want to deploy this application to my main pc/server. can i still have an access to this application to other pc/client by sending a shortcut to there desktop. something like that?.just need more information im still noob...
27 May 2013 by Maciej Los
Please, read these articles:Deploying Applications and Components[^]Chapter 8: Deploying Applications[^]Web Deployment Overview for Visual Studio and ASP.NET[^]
20 Jul 2013 by sharadtripathi204
I had requirement that editor should have only Bold, Italic, Underline tools, so I customized Html editor of ajaxcontroltoolkit by inheriting AjaxControlToolkit.HTMLEditor.Editor class. It works fine but It returns old content after first time. e.g. I browse the page and write - "ABCD" in...
6 Aug 2013 by Jitendra Ku. Sahoo
Hi, I have an aspx page with around 30 controls. I want to apply some validation on condition. Let say , for Eng user Address1 will mandatory not for French user. For India postcode will be mandatory . Many many thanks in advance.
6 Aug 2013 by Harshil_Raval
Hi,please check this links, it will help you.http://www.w3schools.com/aspnet/aspnet_refvalidationcontrols.asp[^]Exploring ASP.NET Validation Controls[^]Hope it helps.
24 Sep 2013 by Rasool Ahmed
Hi all,I have server control and it has a child control in it. The problem is I want to set an event to that control but it dosn't riase :(protected override void RenderContents(HtmlTextWriter output) { TextBox txtBox = new TextBox(); txtBox.ID =...
25 Sep 2013 by Rasool Ahmed
Hi guys,I had developed a server control which acts as a container (user can add any control inside the server control).[DefaultProperty("Text")] [Designer(typeof(ContainerControlDesigner))] [ParseChildren(false)] [ControlBuilderAttribute(typeof(SampleControlBuilder))] ...
19 Dec 2013 by amad01pk
windows 2008 r2 server is configured as a print server.around 150 ip printers have access to the server.how can i restrict users from printing and only authorized users can print.what approach should be used. can complete print control be achieved.
24 Feb 2014 by khoi tran
Hi every body,Please help me why i build a project to send mail, when i run at my computer that ok, So i run on another server have a error "The remote server returned an error: (401) Unauthorized.". I dont know that is my code error or server config my account.This is my code ...
24 Feb 2014 by khoi tran
yeah, i really done already. thank so much all, it error because my user on server should'nt have domain\
22 Mar 2014 by sunil mali
Hello all,I am having one big issue in our production server.From last 3 days our application is not working correctly, server is behaving too badly.Let me expalain in detailProduction Server Details.Actual Ram 28 GB64 bit2.26GHZ 2 ProcessorsUsage HistoryPhysical Memory...
22 Mar 2014 by OriginalGriff
We can't even begin to answer that from that: we have absolutely no idea what you are doing.Especially when you say "Total Databases Running: Nearly 5" which is plain silly.You need to look at what you code is doing, what queries it is running, where it is running. If it is running on the...
11 May 2014 by Matan Fihman
Hello everyone I want to write a simple server-client application , the main pursue is for it is to run a script of some type via GUI after connection established , so basicallyI want to make connection conformationwhat I have now isinternal bool connect(remoteIP){ if (...
10 May 2014 by Abhinav S
Socket.ReciveTimeout[^] could help you achieve this objective.
30 May 2014 by User 7711251
The website has protected the image for a reason, attempting to retrieve the image is violating the privacy of the website. Sorry, no can do. :/
27 Jul 2014 by Member 10970069
Hi team,we are into security business and need to created mpls connection on server 2003.We are using TATA mpls connection directly connected tp server but problem is there are not able to provide connectivity in PAN india as Kolkata and Bihar connectivity poor and speed to very...
11 Aug 2014 by Mogya
Dear All, I want to make Web server custom control with Css and some images using C# and .net 4.5 [DefaultProperty("Text")] [ToolboxData("")] public class ServerControl1 : WebControl { [Bindable(true)] ...
11 Aug 2014 by Trung Nguyen Son
Found something that may help you hereand hereBrs,--
13 Aug 2014 by Mogya
add in assembly of Custom Web server project //[assembly: System.Web.UI.WebResource("", "text/javascript")][assembly: System.Web.UI.WebResource("TestServerControl.Img.avm.jpg", "image/jpg")][assembly: System.Web.UI.WebResource("TestServerControl.JS.test.js", "text/javascript",...
20 Aug 2014 by Ammar Shaukat
I'm facing problem in a simple website, where i'm using buttons to switch between different pages,behind the every button i'm using onclick() method to open other page.Method i'm using is onclick = "windows.open('xyz.html')" of javascript.but when i do click on a button to open a specific...
20 Aug 2014 by Member 10989151
function loadHome(){ window.location.assign('../index.php');}
20 Aug 2014 by Shimul Chowdhury
Try to use followingonClick = " window.location = 'http://www.yoururl.com/xyz.html'"OronClick = " window.navigate('http://www.yoururl.com/xyz.html')"
21 Aug 2014 by Magyar András
Here is a solution:window.location.replace("http://yourwebsite.com/page1.php");orwindow.location.href("http://yourwebsite.com/page1.php");
24 Aug 2014 by Magyar András
The problem is here:onclick = "windows.open('xyz.html')"The good solution:onclick=javascript:window.location.replace("http://yourwebsite.com/page1.php")or use this:onclick="Navigate()"function Navigate() {window.location.assign("http://yourwebsite.com/page1.php"); }
8 Oct 2014 by Abdallah Al-Dalleh
HelloI just knew about some good UI frameworks like jquery UI, Bootstrap, Flat UI, etc. My question is can these be applied to basic server controls like buttons, menus, text boxes, dropdown list, etc. ? I tried once before with the jquery UI and it seems it does not work on the server.
14 Feb 2023 by Muhammad Taqi Hassan Bukhari
I have an website that I deploy for a customer that was working fine, but now it gives this error.The current identity (IIS APPPOOL\abc.com) does not have write access to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files'.Description: An unhandled exception...
9 Nov 2014 by Mathew Soji
tryhttp://forums.asp.net/t/1566987.aspx?Current+Identity+does+not+have+Write+Access+to+v4+0+30319+Temporary+ASP+NET+Files[^]http://stackoverflow.com/questions/22756037/iis-applicationpoolidentity-does-not-have-write-permission-to-temporary-asp-net[^]
9 Nov 2014 by Deepu S Nair
You can resolve this issue in the following way:1. Create a Windows Domain\Local Machine user account with a strong password.2. Using Windows Explorer, go to C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files.3. Give the new user you created in step 1 Full Control...
10 Nov 2014 by Muhammad Taqi Hassan Bukhari
Thanks for all who response to my problems.The Problem has been due to low disk space on server. I just empty out some old data and the site is live agian.
1 Apr 2015 by ali_heidari_
Hello.I created an ajax user control, it works prefectly, Used it in a webpage. Now can you help me please how to access my ajax server control properties using javascript in the webpage? [I can modify properties using my control tag].
1 Apr 2015 by ZurdoDev
As discussed in comments: You can't. You can only modify the properties that get generated into the html since that is all JS has access to.
21 Apr 2015 by Suvendu Shekhar Giri
If your page works fine in other browsers, I am sure that it is related to CSS styling.Check if there is any CSS written for positioning likeposition: absolute;orposition: relative;Try commenting/removing those. If controls are now visible, it means you have to adjust the position of...
22 Apr 2015 by Bhavikkumar Chaudhari
Can you please post your HTML markup code here.-Bhavik Chaudhari
29 Jul 2015 by Raul Iloc
1.Yes it is possible, and the best solution that I see in .NET is by using WCF.So your server will implement a WCF service and will provide this interface for communication with its clients and also will could be client by communicating with other server/ servers that are exposing their WCF...
2 May 2016 by Member 12499026
I am getting "HRESULT: 0x800A9C54" error when clicking the start listening button. with following code:if (PortText.Text != "") { w1.LocalPort = Int32.Parse(PortText.Text); // in this line w1.Listen(); }I'am doing exactly this project...
2 May 2016 by OriginalGriff
Then don't ask us: ask the people who wrote it.Follow your link, and look at the bottom of the page: there is a forum there for messages to the author. Use it and ask them - they will have a much better idea why the code doesn't work than random people on a totally different site!
2 May 2016 by George Jonsson
I don't know what you are trying to do, but I doubt that using WINSOCK is the easiest way to do what you want.You should also notice that the article is from 2007, so the support of it might be lacking.You are probably better off using System.Net.Sockets Namespace[^]You can find some...
4 Jul 2016 by senthill
when you click any server side control, the page will post back by default. If you don't want to post back the page, place the control inside the update panel which available in ajax controls.
20 Mar 2017 by sunil kumar meena
Just curious!I was wondering, what actually happens so that any control that is defined in .aspx page and having "runat" attribute is accessible in code behind file?.aspx page:code behind page:lbl.Text = "This is a label";If anyone can...
8 Mar 2015 by Komail Haider
.Net control/wrapper for the Google NEW ReCaptcha API 2.0
3 Jan 2013 by Orcun Iyigun
No you dont have any other option than runat="server".If you take a look at the following links you will have an answer:Why does ASP.NET still require runat="server" everywhere?[^]Runat='client' vs runat[^]Why does asp.net webforms need the runat server attribute[^]Why runat server for...
24 Nov 2015 by nuclear_sun
You can share a peer's desktop with any others using this software, designate the sharer and viewers in any way you can imagine. Detailed development document and user manual can be found in the Download.
6 Mar 2013 by Pallavi Waikar
for image display remove Server.MapPath use only following code ..if image are present in ur website folderimg.ImageUrl ="~/Teacher/" + ExcelTable.Rows[i][7].ToString();for new row simply add br tag next to label text..exampalLabel name = new Label();name.ID = "name" + i;name.Text =...
20 Mar 2017 by Karthik_Mahalingam
Quote:what makes my label accessible in code behind after adding "runat" attribute?Whenever you do some change in the ASPX page, the designer file will get updated everytime when the runat="server" attribute is added to the control.Since the designer file is a partial class, the...
5 Feb 2013 by Sumit Munot
Very Specific problem, In my Ruby On Rails Application(Web Site). I have dedicated server on Joyent Account. Also my website is hosted on Joyent. But it's down frequently my passenger get down after each 2 or 3 days. I am unable to find out the reason. I have asked this question on Joyent...
29 Jan 2015 by Am Gayathri
Am getting below error after installing ODP.net.ORA-12154: TNS:could not resolve the connect identifier specifiedBefore installing ODP.net i was able to connect with database using plsql developer.But ODP.net is required to run .net application so i installed ODP.net.But after installing...
18 Jul 2015 by amin khoshzahmat
if domain A is not yours anymore, but your domain B is redirecting to A, and you dont want to redirect to it, ask your domain/host provider to change it for you.
18 Jul 2015 by Kornfeld Eliyahu Peter
As Domain A not yours anymore, you can not do such redirection legally...
29 Jan 2015 by parvez mulla
Cause: A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name...
6 Mar 2013 by Tiwari A K
Hi Friends, i want to create a user control to display my data from excel sheet and also read photo from a folder. Path of photos is in excel sheet. i am able to call data from excel sheet. but my user control does not work properly.My photos does not displayed and all data is on...
28 Apr 2016 by Member 12491145
I am learning java. I need a server to practice networking concepts. I installed netbeans and installed something called glassfish. I googled about this concept and got to know that it can act as a server. But I have seen them doing it using java web. But i program in normal java application. So...
18 Jul 2015 by Member 9017207
I need an urgent help. I had a domain A which got expired and in the mean time someone else got that. But he hasn't hosted on that domain yet. It is still inactive. So what my question is is it possible to forward/redirect that domain url to another url.Suppose Domain A to Domain B.P.S I...
10 Aug 2021 by vaibhav shelar
First check if your framework folder (C:\Windows\Microsoft.NET\Framework64\v2.0.50727/v4.0.30319) has this "Temporary ASP.NET Files". If not then create one with this name. Then check for permission (Properties -> Security -> IIS_IUSER -> Allow...
14 Feb 2023 by Christopher Zahrobsky
Don't add permissions. Just change the TEMP directory for ASP.NET in your web.config file! ...
12 Oct 2012 by TIKSN Int
Hi guys.I have a problem with a view state.The problem is when I am trying to get value it is giving me the default one but show me correct value from view state.Please Help.Here is the code.using System;using System.Collections.Generic;using System.Linq;using...
30 May 2014 by Member 10855692
how to download a image from a protected below link http://epaper.manoramaonline.com/MMDaily/Malappuram/2014/05/30/F/MMDaily_Malappuram_2014_05_30_F_FP_001/1228_274_1940_1862.jpgwhile I downloading this jpeg file the following error was display " the remote server returned an error (403)...
9 Apr 2015 by ali_heidari_
Hello.I made an ajax server control that exposes google map api. I made all and work good except onething, It initialize 4 google map at end.All my server control event (PreRender,RenderContent,BeginRenderTag,EndRenderTag) raise once. but i don't know why it makes 4 copy of map with exact...
21 Apr 2015 by Er. Rahul Nagar
I Have facing a problem with server control all control bind on page load but it is not show after run my project in google chrome.But if i run my project on other browser it's working properly all control on page is show like Grid\list and all other control but in the case of chrome nobody...
22 Apr 2015 by Er. Rahul Nagar
Dear Suvendu Shekhar GiriI m trying this but there is no problem due to css.
24 Apr 2015 by ALTHARBANi
elloI wish you beautiful daysI have a site and I would like to split the programmatic work on several programmers how it is working and whether more than one programmer can work on-site at the same time?Second questionHow do I prevent the programmer from the site download files...
4 Jul 2016 by ankitarora03
I created a page with server side radiobutton and checkbox functionalities.But selecting every control the page is refreshing.In this regard request to help me by suggesting an idea for rectifying this problem.
29 Jul 2015 by Member 11543226
I want to know Is it possible to create a application which acts as a server for multiple clients as well as acts as a client for host server?In my scenario I want to receive request from multiple clients and send this request to another host server machine which has database access and this...
9 Aug 2015 by PallavSingh
I have to develop a web application that get payment from million of users, 10 million user will hit web application in 1 month, so web traffic will be very high.So, the question is:which type server we need to purchase?we have to buy web server space or physical server which is secure ?
28 Sep 2015 by Parazival
Actually in my Web Form Three Textbox like txtdt1(ajaxcalnder1),txtdt2(ajaxcalender2),txtnum3if user select any date in 'txtdt1'. 'txtdt2' must be less then the 'txtdt1' and automatically the difference between days are must be displayed in 'txtnum3'...how to write javascript for...
28 Sep 2015 by Krunal Rohit
With JavaScript : calculating-the-difference-between-two-dates-in-javascript.html[^]With C#:private void CalculateDateDifference(){ TimeSpan i = new TimeSpan(0, 0, 0); DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim(), new CultureInfo("en-us")); ...
5 Dec 2019 by Member 14679282
add tempDirectory="d:\local\temp\ field in compilation Tag inside system.web in wweb.config to remove the error("The current identity (IIS APPPOOL\abc.com) does not have write access to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files'")