Lost All Default Controls In Toolbox Except For Html Controls - How To Restore Them Back
Apr 5, 2011For unknown reason, I lost all default controls in the toolbox except for html controls. How to restore them back?
View 2 RepliesFor unknown reason, I lost all default controls in the toolbox except for html controls. How to restore them back?
View 2 Replies- I am Using VS 10 Professional, Vista Ultimate, Asp.net 4, Mvc 3. Razor View Engine.
- Attempted to install a Third Party , only one, Control "Poll Control" to a project that I am developing.
- However, the third Party installation program downloaded all their controls,that I didn't ask for, created a new folder in the Toolbox and listed all their controls under the heading of the new folder.An intrusive action that I don't need and didn't ask for.
- The Razor engine, that I am using to develop my program, doesn't support Design View and deals only with Source View.
- However, the Third Party's Controls need Design View to be activated. As a result, the installation program appears to have caused the following:
1- All their Controls appeared grayed and unusable in the Toolbox.
2- All other Controls in the Toolbox are grayed as well.
3- I properly un-installed all their Controls as well as their heading, however, all the other Controls are still grayed and unusable.
- This graying out appears only under the " Lazor Engine"
- All the Controls of the Toolbox appear and function properly under "Aspx. engine", Where Design Views are provided.
- I tried everywhere, for about a week,to find a solution without any success. I went as far as un-installing Visual Studio and re-install it again, without any success.
- I Contacted the Third Party Support Department and I received the following response:
" This is not something we will help you with. You will need to contact MS or other resource to find that out. We only support our product, we do not have the in depth knowlege about how Visual Studio works. "
MY PROBLEM.How can I restore the functionality of all the Toolbox Controls?
I've realised that the custom controls that I add to the toolbox are lost on restart of Visual Studio 2010 RC 1.Was there a problem that occured during the installation or is it a know bug?I did not encounter this problem with the beta 2.
View 1 RepliesI need to process surveys. I have modelled them in SQLServer, just need to generate the forms to input it.I have nested SqlDataSource/DataLists. The outer gets the questions and the inner gets the various options as a plain HTML radio buttons. I can't use ASP.NET radio buttons because of a bug with them inside itemtemplates not mutually exclusive http://support.microsoft.com/default.aspx?scid=kb;en-us;316495Anyway, so now I need to know the which radio buttons were selected so I can insert the values in the database. What is the best way of doing it?
View 12 RepliesI have a GridView control that has an ItemTemplate that contains an HTML radio button. In my code behind I am querying a database, retrieving a column of values, and then binding the list to the GridView. My problem is that the radio button that I select is not being persisted on post back. I have tried using an ASP RadioButton rather than an HTML control, but when I do that all of the radio button can be selected at the same time (i.e. like check boxes). how to persist the radio button that is selected in this scenario?
[Code]....
I have a FormView that is in Insert mode and at page load I assign the current date to a field in the FormView. This works. But after I click Insert, the default date gets cleared out of the FormView and does not come back.I have stepped through the code in debug mode and even though there is a post back and the page load code runs again, the default field is not populated. For one thing, during this postback, the FormView still contains it's field values.
While stepping through in debug mode, the last thing to happen is the InsertTemplate section of the included code, below. After the last text box is referenced within the InsertTemplate, the FormView values go blank and the GridView that it feeds gets a new row. But processing does not come back to the code behine file and the default date field stays blank.I have been trying to find an event that happens after the FormView empites itself of it's values so that I can set the date field the same way I am setting it on page load, but so far nothing works.
Code:
<asp:FormView ID="FormView_Discussion_Input" runat="server" CellPadding="4"
DataKeyNames="Discussion_ID" DataSourceID="DataSource_Discussions_Input" DefaultMode="Insert"
ForeColor="#333333" Width="695px" BorderStyle="Groove" BorderColor="Black"
BorderWidth="1px">
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
[code]....
I am using vs team edition 2008 and i just totally lost search box from menu bar. how to get it back..
View 2 RepliesI have color attributes set to some items in dropdownlist on Page Load.
Dim li As New ListItem("heading" , "0"))
li.Attributes.Add("style", "font-weight:bold")
however, it loses after Post Back, ie., on SelectedIndexChanged event.
I have a css file which is external registered in Master Page which contents the following code :
.Item:hover
{
background-color: #def2fd;
font-weight: bold;
cursor:pointer;
}
The Item is applied for GridViewRow. This GridView is in a UpdatePanel, when I click a button to do a Ajax Post Back the CSS applied for the GridViewRow is useless (IE 6 only).
I have used update panel and in that update panel I have kept ASP Table control in which I am creating rows dynamically which in turn contains 1 dropdown lists and 3 text boxes. My problem is that after partial postback text boxes and dropdown list are found but text property of text boxes is showing empty and dropdown list's selected value is set to the first record in that box. I have also stored entire table in session and retrieve it in(!isPostBack) condition at page_load event.
part of my .aspx page is as below
[code]....
I want to add one row on every addRowTbn click event there by retaining previous rows.
I installed the dotnetnuke starter kit for VS 2008 and now when I go to create a new website or project, the only template is a dotnetnuke website. I have lost all of the default templates that come with VS. Is there some way I can restore those?
View 3 Repliesi have 10 list boxes in my aspx page for all 10 list boxes same function is using for some buttons i want to add listbox data to grid can you java script code shown below
f[code]....
i tried a javascript above code to move items between listbox using html input button problem when i trying to save listbox.items.count giving 0 can anyone tell me why this happening and also when post back occurs listbox items lost.
I have a GridView and a LinkButton control. I click the LinkButton control and loose the object reference to both objects after post back. I want to be able to get the command arguments from the link button and then be able to get a reference to the gridview control to determine which page index to set the gridview. I have been able to get the __EventTarget property to reference the object that was called but Im not able to reference that object.
[Code]....
[Code]....
I'm losing client side href. Is it possible to send it back to the server on the button submit using a variable or something?
View 1 Replieshttp://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-47-cs.aspx
According to the above article you "Unblock" the zip file and then unzip it. You then create a new tab within the toolbox window and add the dll to show and use the toolbox items. However when I do that I'm getting the following:
'Request for the permission of type
'System.Web.AspNetHostingPermissio
i just wanted to know how to perform back up and restore of Ms Access database on a folder on the remote server through c# code.
View 1 Repliesi m using these command for backup and restore sql database
BACKUP DATABASE [db_report] TO
DISK =N'db_report.bak'
WITH NOFORMAT, NOINIT, NAME = N'Report-Full Database Backup',
SKIP, NOREWIND, NOUNLOAD, STATS = 10
RESTORE DATABASE [db_report]
FROM DISK = N'db_report.bak'
WITH FILE = 1,
MOVE N'db_report' TO N'C:db_report.mdf',
MOVE N'db_report' TO N'C:db_report.ldf',
NOUNLOAD, STATS = 10
but i want to set backup drive name with today date and time yani my i will set drive D:db_report010320100910am if u will see theres is db_reportMonth(01) Day(03) Year(2010) Time(09:10am) and when i want to restore then ask me which one u want to get restore
my SEL Server name is changed. I have a backup file. Now I want to take the data in the older file. So how can I restore the old data in the new SQL server which name is changed?
View 7 RepliesI want to restore .bak files from a server directory into database. The problem is it should behave automatically. Whenever a .bak file will be uploaded in that specified directory of the server that file will be restored. It may happen by using sql procedure which will restore all the .bak file which it will find at a certain time in that specified directory. Or, it may happen by using asp.net program which will run exclusively on server and call a sql procedure to restore a backup file whenever a backup file will come in that specified directory. But I am not getting how to figure out this ideas programetically.
View 2 Repliesi am using sqlserver 2008 express.
i have a problem here, unfortunately i deleted "Manually" some important tables from my database, now i need to retrieve those tables,
i didnot take a backup for those tables,
can i retrive those tables or roll back delete process?
how can I achieve this using the SQLdatasource control? I'm using the VB language. What controls/commands should I use to have a backup and restore function on my website?
View 2 Replies restore a master database from production to test server.
The reason to do this because I need to test and evaluate some login in master database.
I tried to restore master database to test server, but I got some errors regarding about user databases are not exists in test server. I don't want to restore user databases, I only need master database for evaluate user login.
I need to restore the database daily. I have a BAK file in shared folder. I have to restore it from my machine. I have used the below script to restore the database but I am unable to restore it. Its throwing error. I have shown the script and error what I got when I execute my Store procedure.
CREATE Proc GetRestoreDBS
(
@BakPath varchar(1500)
)
[Code]....
I've been using AJAX 3.0 in my project for a while. Today I started another project and wanted to use some of their other controls I have read about. I only show a few controls in my toolbox such as Pointer, Script manager, Script manager Proxy, Timer, UpdatePanel and UpdateProgress. How do I get the others to show such as the HTMLEditor control?
View 3 RepliesAll controls listed in toolbox are duplicate.
For example, 3 text boxes, 3 labels..., all controls are listing 3 times.
I reset toolbox yesterday but today the same thing happened.