Web Forms :: Unable To Move WebParts Between Zones
Apr 26, 2010
We have a generic site which we deploy to clients and they personalise the text using the web parts. The problem we are currently experiencing is that they are unable to move web-parts between zones. This is not a JS issue as no errors are being thrown and this is not a CSS issue either, as we re-deployed the website here on our own server and it works perfectly fine. On our client's site, we can drag parts around in the zone it is in, however when we try to move a part out of that zone, we are given a circle cursor with a line through it. Adding parts to a zone is not an issue.
This could perhaps be linked to a previous issue of being unable to view any editable parts of a webpart. I resolved this by removing all the WebPersonalization from the WebPersonalization table in our MSSQL database.
View 2 Replies
Similar Messages:
Feb 19, 2010
once have closed a webpart when i am running my application again it is not displaying the webparts...i have to place my code in to other webpart. to prevent from creating the webpart again an d again...
View 1 Replies
Feb 27, 2010
i have made the master page and included content placeholder in it. i created one child page and now i am not able to move label control in content place holder with absolute position. i am using visual studio 2008. i tried with button and text box controls but the controls are going out of content placeholder what to do for the same
View 3 Replies
Feb 25, 2010
In Visual studio 2008,
in an ASP web application project.
I can't seem to move the controls in the designer to a new position.
If I go to Tools - Options - HTML designer and check
"change positioning to absolute for controls added using toolbox, paste or drag and drop "
I then can move the controls.
But If I change the ID of the control, it moves to the upper left corner
And I can no longer move it.
View 3 Replies
May 15, 2010
In VS 2005 I could change the layout appropriately, to move controls in a web form in design mode, to a place where I intend to. But in VS 2008 , I don't see such an option. My controls are stuck in places of their own and I am unable to move them to the intended locations. Googling suggested to use Tools -> option -> HTMLDesigner -> CSS. But not sure that is the correct route.
View 1 Replies
Apr 2, 2010
I have the code:
[Code]....
[Code]....
I live in Saint-Petersburg, so s="11 : 15 : 14". What should i write in web.config or in some else place for take the similar hours?
I can't to use ToString, ToUniversalTime and change Parse arguments (it data takes from web services).
View 6 Replies
Jan 12, 2011
I would like to achieve a nice smooth transition when the user moves controls between the WebPartZones similar to how iGoogle implements it. I've not yet been able to achieve this - the transition is very jumpy and not very smooth (I cannot use SilverLight).
Has anybody achieved this using WepPartZones without the use of SilverLight?
View 1 Replies
Feb 25, 2010
I have a WebPartZone in each of two adjacent columns. There is a gap of about 4 pixels between the two columns that I cannot remove.
I have two zones with the following markup:
[Code]....
On running the page, the relevant source code is:
<%-- End of contents and div containers for Column 1 Zone --%>
...jText at the end of this Webpart.</span>
</td></tr></tbody></table>
</td></tr></table>
</td></tr>
<tr>td style="padding:0;height:100%;"></td>
</tr></table>
</td></tr></table>
</div>
</div>
<%-- Start of div containers for Column 2 Zone --%>
<div id="ctl00_Main_MainCol2" class="box33" style="Width:39.9%;">
<div id="ctl00_Main_MainCol2Con" style="width:auto; margin-left:0.0em; margin-right:0.0em;">
<table cellspacing="0" cellpadding="0" border="0" id="ctl00_Main_ZoneCol2">
<tr><td style="height:100%;">
<%-- The following 2 tables both have cellpadding="2" which appears to be causing the problem --%>
<table cellspacing="0" cellpadding="2" border="0" style="width:100%;height:100%;">
<tr><td>
<table cellspacing="0" cellpadding="2" border="0" id="WebPart_wp1787670866" style="width:100%;">
<tr><td cellpadding="0" style="padding:0px;">
<div id="ctl00_Header_WebPartManager1_wp1787670866"></div>
<%-- Start of contents of Column 2 Zone --%>
<table cellspacing="0" cellpadding="10" style="border: thin solid #000000; background-color: #8db3e2; width:
100%;">
<thead>
</thead>
<tbody>
<tr>
<td><span style="font-size: 12px;">Text at the beginning of this WebPart....
Two of the tables, which I think are rendered by the WebPartZones, have cellpadding="2". This seems to be giving the 4 pixel gap between the columns.
View 2 Replies
Jan 28, 2011
[Code]....
i want to get data from database of field Name and Gender, and then display it in Label name and gender. when i click save it move to next record and display name and gender that next record.
View 3 Replies
Aug 4, 2010
I am using ASP.NET 2.0 and C#.
I have a html table, which has 2 rows and 2 columns.
I want to create web part zones for these 2 rows and 2 columns.
For each td, i want a web part zone, so that users can move data across the table.
How to create web part zones for the td?
View 2 Replies
Aug 16, 2010
I got this answer from Kjensen and read the answers, but this is a different webapp
I'm running scheduled events that process incoming orders, set Picking material, manage Track & Trace numbers, etc ... and I do this at a specific time of the day (set in Administration Panel)
My server is in UK (DiscountAsp.net) but I'm 2 hours ahead.
What I really wanted is, every time I call DateTime.Now that would be automatically changed to my time instead of Local Server Time. This should handle Daylight savings as well.
I thought about making a Extension to simply call DateTime.MyLocalTime and there use TimeInfo to add / subtract the correct hours.
In good old days I did this in Global.asa (ASP) ... I just wanted to know if there is a better way to handle this.
View 1 Replies
Sep 9, 2010
We have an already existing project on IIS and we want to move to Apache (windows) with mod_aspdotnet. What things could not work? If we use 3rd party DLLs? Will office components work fine (export to Excel, Word, etc). If you have any experience on this type of migration, I'd like your inputs! Also, is there another alternative to mod_aspdotnet?
View 1 Replies
Nov 28, 2010
I am adding a custom header to a SharePoint master page and I would like to display the current time in four different time zones. However, I don't want to use the client's time as there is no way to know what time zone the client will be in, or if they have the correct time on their computer.
Ideally, the time should be displayed as follows:
Dallas: (UTC-6 w/ DST support) Zulu: (UTC) Iraq: (UTC+3) Afghanistan: (UTC+4.5)
My problem is that I really don't know anything about ASP.NET, as I'm a PHP guy myself. So I need a way to pass the serverTime as a variable that JavaScript can use to perform calculations on to display the correct time zone.
UPDATE:
I need the clock to update as each second changes. So it is a live time instead of a static time.
UPDATE 2:
This is the code I'm using.
<script runat="server">
Sub Page_Load(ByVal Sender As Object, ByVal E As EventArgs)
End Sub
Public Function dtBase() As Double
Dim d1 As Date = New Date(1970, 1, 1)
[Code]....
UPDATE 3:
Still don't know if the code worked. My SharePoint server rejected the page for the code blocks. I have absolutely zero idea how to do code-behind. The JS works, but if the client's time is off, the site displays incorrect times. Really wish I could just code this in PHP. I'd be done a week ago. ;)
UPDATE 4:
This update is for anyone that stumbles across this in the future looking for the answer to the problem. The code above has been updated to work correctly. The only catch is that SharePoint disallows code by default, so to enable it, you have to modify the web.config file. The web.config file is usually in the root directory of the site. Inside that file (which is XML), you'll find a tag. Somehwere inside of that, you should find , and inside of that, you should find . Inside of that tag, you want to add this:
<PageParserPath VirtualPath="/relative/path/to/your/file/here.aspx" CompilationMode="Always" AllowServerSideScript="true" />
View 3 Replies
Feb 20, 2011
How to keep the image transparent zones with WebImage require?
I saw that this function may require an image from a data base or from a file.
[Code]....
But when I call the image, the transparent parts changed to black.
Is there any way to keep the transparent areas of the image?
How would showing the picture in real size?
View 6 Replies
Apr 18, 2010
I'm having an issue working out how to implement this time based event. Basically, my program needs to send out an email at 12AM monday morning. But the email needs to go based on the user's local time not 12AM server time.
the problem i have discovered is Daylight savings. I used current server time as 12:00AM (my local time) and my actual offset is -7:00 UTC but after the calculation i get -6:00 utc because of daylight savings. If a user was in -7:00UTC then he/she will not get the email at 12am localtime but an hour late.
View 2 Replies
Mar 15, 2010
I am trying to create an app which shows current time in 6 time zones (Sydney, S'pore, india, london, EST and CST).
I am having troubles handling DST, because DST starts and ends on different dates in different countries.
More over I want to make it configurable (add/remove cities from the list).
Currently I have added the cities in .config with their timezone differences (with respect to GMT).
[code]....
View 3 Replies
Mar 22, 2010
I think that I am confuse here. Now I am using WebParts as they being used on 2.0 framework (like they are using on TheBeerHouse kit)
But in most of the forums they talk about SharePoint. Does sharepoint means webparts as I know them, or this is a new version of the webparts?
View 4 Replies
Aug 6, 2010
I'm learning about webparts in asp.net.
I use Visual web developer express 2010, with sql server express.
I followed all the instruction to build a simple page with webparts. I added the webpart manager, webpart zone, zone template and added my user control or asp controls inside.
The webparts look as they suppose to in design view, but when I run the application and see the page in the browser (explorer 8 Or Chrome) the webparts look like cells in table: Static, with no menu that will allow the user to minimize or to close the webpart. None of the webparts have the small triangle menu icon.
Attached is my code.
[Code]....
View 3 Replies
Feb 18, 2010
i created a webpart in default.aspx page. i am trying to access the html code of the default.aspx page from an html file using javascript. When trying to access a javascript error is displayed 'webpartmanager' is undefined. the functionality i am trying to achieve is i want to call all the webparts created in default.aspx page from html page and do all the drag drop, minimize, close in html page.
View 1 Replies
Sep 22, 2010
Im looking for a way to add a naviagtion webpart to multiple pages via the catalog part - without using masterpages.
View 3 Replies
Mar 24, 2010
I am trying to create a webparts in .net 3.5 but in display mode its showing only browse not design.
my code is as follows,
this is ascx.cs page
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
[Code]....
View 5 Replies
Mar 8, 2010
There is a page that retrieves for about 100 records from database.
In this page I have several of webparts. wach webpart has a usercontol, and in it there is a datalist.
I need way to sen data from the page into the webparts. for each webpart I wish to send 20 records only from the 100 that was retrieved from database.
NOTE: Sometins in that page there is 4 webparts, and sometimes there is only 2...it keeps changing.
How can I achieve that?
View 1 Replies
Nov 20, 2010
I want to create rounded corner webparts in my webpage using .
View 3 Replies
Feb 2, 2011
I have few ASPX pages and I am planning to have some webparts on these pages.
a) Looking for custom code to create ASP.NET webpart (code samples, webcasts or samples would be great)
b) Once I have webpart created, I would like to know how I can refernce them in ASPX pages.
View 1 Replies
Mar 19, 2010
I have one of the .Net site running and want to implement web-parts on that site. well I am not using (aspnet_Users, or aspnet_Membership) defaults tables from aspnetDB but I have my own login controls and create new user contols ect on the site. so in short I have the users uniq ID when logged in from our corporate database nothing similar to aspnetDB.
Hecen want to know can I impelemt webparts in the existing site by just importing the tables from aspnetdb like (aspnet_PersonalizationAllUsers, aspnet_PersonalizationPerUser) to my database and what else I will require apart from these tables?
1. which list of store procedures I should coopy?
2. Any modification to my web.config?
3. Are their any functions/classes which I might have to copy to my App_Code folder to work these webparts with my exisitng site and userdetails
Is it possible ?
View 1 Replies