I'm using one Sublayout (Sitecore) and have a placeHolder that currently holds 2 webcontrols. I want to access the Label from one Webcontrol to the other Webcontrol.
Do i have to find the Label recursively or can i just access the Label on another way?
I tried different methods like:
this.Page.Findcontrol
this.Parent.Findcontrol
etc..
...
Hi and thank you for your help. We're trying to keep a Sitecore site up and running on a WS 2008 R2 Standard server but keep running into the following exception:
System.Security.Cryptography.CryptographicException
The site is set up to run in its own App Pool with the 2.0 framework version selected and integrated pipeline mode.
Th...
I have a sitecore 6.2 site that had no lucene indexes besides the system index. I tried to add this new simple index:
<index id="videoIndex" type="Sitecore.Search.Index, Sitecore.Kernel" >
<param desc="name">$(id)</param>
<param desc="folder">IndexFolder</param>
<Analyzer ref="search/analyzer" />
<templates hint="list:AddTemplat...
For a high-traffic Sitecore site, what kinds of regular maintenance tasks should be completed?
Currently we:
Analyze the Sitecore, IIS and System logs for errors
Examine the response times within the IIS logs for capacity issues
What other tasks should be complete regularly (monthly) to ensure that Sitecore is functioning well and t...
I have a sitecore page with an ASP dropdownlist, and the data on the form is populated from the selected value of the dropdown. When the selected item of the dropdownlist is changed, a postback is fired. In the postback, the new selected item is added to the querystring and the user is redirected (for linkability).
I recently enabled HT...
I have a Sitecore 4 solution, where i need to loop through a media folder and show all the files in that folder. I have an item with a link type. I have then choosen a file inside the folder.
I then want to grab this file, and find the folder it excist in, and then loop through all the files in that folder, and show them.
All this in x...
How can I programatically select a sitecore content tree item and expand it ?
Sitecore version: 6.2
By expanding, I mean expanding the content tree item like in windows explorer ("+").
...
I want to use single form for several pages like a block. Sitecore always creates a new form for a page.
How to share/reuse a form?
...
I'm working on a site that will support several languages. I create a template and a content item. Then I fill in the fields for language-specific versions of a content item. Thats OK.
I want to translate labels that go through the whole application.
Let it be "More" label. I thought it is something about Dictionary and usage of Siteco...
I have just read the following post on SO;
Do you source control your databases
We are working with Sitecore and normally Attach 3 standard databases to our MSSQL server.
We have a Core , Master and Web database. In the proces of developing the different templates on the backend of Sitecore we all use one database and just publish our...
I have a Sitecore solution with multiple sites. All sites are setup in SiteDefinition.Config, and i can enter all the sites correctly.
My problem is that the internal links on the sites (navigations etc.) prefixes 'sitecore/content/sitename/' to all my links.
i have tried almost all the fixes/solutions i could think off - but no luck.
...
Sitecore provides a way of escaping words within a Sitecore query that contain characters that they don't like. Such characters include hyphens and spaces. In the interest of simplifying my life, I wrote a simple helper function that would escape every part of a Sitecore query, and it worked fine for a while:
public static string Escape...
The default RTE in Sitecore 6.2 is the Default profile, which have very limited options. I want to change the default RTE to the Medium profile - but how do i do this, without going through all my templates and chaning the source to the medium RTE?
...
I've got a Sitecore application, which creates and uses a number of Lucene indexes through Sitecore's built-in API.
I need to make sure that items in the index are kept up-to-date when they are published. To do this, I've created a Sitecore Hook that detects when and item is saved to the "web" database and reindexes the item. It seems ...
Hello,
I am trying to publish programatically in Sitecore. Publishing works fine. But doing so programatically doesn't clear the sitecore cache. What is the best way to clear the cache programatically?
I am trying to use the webservice that comes with the staging module. But I am getting a Bad request exception(Exception: The remote s...
I'm trying to make Sitecore send messages through a gmail-account but it wont work.
This is my settings in web.config:
<setting name="MailServer" value="smtp.gmail.com" />
<!-- MAIL SERVER USER
If the SMTP server requires login, enter the user name in this setting
-->
<setting name="MailServerUserName" value="adress@gma...
I've added a new section containing a couple of new fields to an existing data template. The fields appear correctly when logged in as a normal user account.
However when accessing the fields using the API, item.Fields["FieldName"] always returns NULL.
Things I've tried:
Publishing both the item and the corresponding data template
Gr...
In sitecore one can use Web Forms for Marketers to create Forms. Is there a standard facility to create FAQ?
...
I am creating a custom item editor, and am using the following blog post as a reference for responding to the "save" event in the Content Editor, so that I do not need to create a second, confusing Save button for my users.
http://www.markvanaalst.com/sitecore/creating-a-item-editor/
I am able to save my values to the item, but the v...
When i try to preview a page in my Sitecore solution, i get this asp.net error;
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
What could be causing this - it is only showing in preview mode, any other works fine?
...