I have a Microsoft MVC project with an action "Foo" whose view ("Foo.aspx") contains the lines:
<%= Html.ActionLink("mylinktext1", "bar") %>
<%= Html.ActionLink<MyController>(x => x.Bar(), "mylinktext2") %>
When I hit this from a web browser or load it from an AJAX call, it properly returns:
<a href="/bar">mylinktext1</a>
<a href="/B...
Hi
Formview1 is databound to SQLSource that has a while condition. this while condition has a term which is a control in my page set by user. The problem is when there is no match (between users' value and database) the page *becomes blank*
i want the controls of my formview and rest of the page to still be available
is that possbil...
Hello,
I'm using an XSLT stylesheet (by Antennahouse) to convert XHTML to an XSL-FO file. I defined a blank line in my XHTML file as 2 consecutive HTML BR tags. Now there is no native support for a blank line in the XSL-FO format. I want to work around this limitation by adding a height to the fo:block that the stylesheet inserts for a ...
Hi,
I am new to vb6. I am working to create the invoice generation application. I am using data report to show the generated invoice.
The step by step working of process is
Entering the data in to Invoice and ItemsInvoice tables.
Then getting the maxId using (Adodc) from the data base to show the last generated Invoice.
Then passing t...
I have a CSV file and I am running a script against it to insert into a database.
If the value is blank then I don't want to insert it. Here is what I have
if attrs[attr] != '' and attrs[attr] != None:
log.info('Attriute ID: %s' % attr)
log.info('Attriute Value: %s' % attrs[attr])
sql = insert_attr_q...
The most troublesome bug is the occasional ones,there is no definite way to reproduce it.
I've searched a lot on this topic,
the most probable reason is the charset,
and I've take some actions by setting the default charset as utf8 in .htaccess(I'm using apache),
but it still happens,again occasionally
Have you guys any tips other t...
Hi I am running a site using Umbraco 4
In safari(mac) when i refresh the page i get a completely blank page, the page appears to have finished trying to load
I'm using alot of java-script so I tried to removing all javascript but the error still persists.
the site is here
http://www.dreamguts.com
I would really appreciate any inpu...
Hi Does anyone know how to make a JS / PHP or APACHE redirect while keeping the referrer intact with IE?
...
Hi all, I'm trying to launch a report that I created in iReport which contains a main report and a subreport. In iReport, the subreport launches fine and contains data, however when I try to launch it from within my java code, the subreport is blank.
What I've done so far:
I have a String parameter in the main report called "SUBREPOR...
Trying to create a WebView but it only shows a blank/white page. I have followed several examples and they all say that work with this code...
Here is my code:
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
public class PostenWebView extends Activity {
public void onCreate(Bundle savedInstan...
Working SVN repo
I'm starting a git repo to interact with a svn repo. The svn repository is set and working fine, with a single commit of a basic README file in it.
Checking it out works fine:
tchalvak:~/test/svn-test$
svn checkout --username=myUsernameHere http://www.url.to/project/here/charityweb/
A charityweb/README
Checked ou...
Hi. I am trying to open a few links in a new window using Jquery rather than _blank so my html remains valid. My code looks like this:
$(document).ready(function() {
$('a[id="external-url"]').click(function(){
$(this).attr('target','_blank');
});
});
This works just fine except when the link is contained within html I ...
Hi guys
With help from you guys I now have a script that works like a charm.. The only thing I need now, is the script to open the URL in a new tab/window.
$(document).ready(function() {
$("#onskeliste li").click(
function()
{
window.location = $(this).attr("url");
return false;
});
$('#onskeliste li...
The always interesting issue of NULL Vs Blank is driving me bit crazy now.
I have two ESQL/C structures that represent two tables. I'm fetching a row from
one table in a cursor. Using the values of two fields from this fetch, I will retrieve
a row from another table. I know before hand the second fetch will definitely return one row.
N...
Hi
I need help to automatically select an option to submit with a form:
When the 'form-email' field is blank i want it to select 'option 1' and,
When the field is not blank i want it to select 'option 2'.
Here's my form code
<form method="post" onsubmit="return validate-category(this)" action="tdomf-form-post.php" id='tdomf_form1' na...
Hi,
I need to use ZendAMF on a symfony project and I'm currently working on integrating the two.
I have a frontend app with two modules, one of which is 'gateway' - the AMF gateway. In my frontend app config, I have the following in the configure function:
// load symfony autoloading first
parent::initialize();
// Integrate...
I have a configuration file that has entries for various devices, with each entry separated by a blank line. I need to search the file for all instances of a given device type, and count the number of non-blank lines following the occurrence, stopping at the first blank.
For example:
Server=foo
config line 1
config line 2
con...
Hello;
I am developing a simple app that first shows a menu screen, and when a button is pressed, a game screen appears. I was able to develop the game screen without any issues, but when I changed the code to first display the menu, the simulator showed a blank screen.
I've read all the articles on connecting views with IB but I can't...
Hi,
For some strange reason an alert dialog with the text title "Message From Web page" and message "-" displays when posting back a for with validation. There are no custom validation scripts that display an alert window. I am debgging javascript using IE development toolbar? Is it possible to break into the code that displays the alert...
Yes, I know this goes against the whole MVC principle!
However, I'm just trying to whip up a pretty trivial application - and I've pretty much implemented it pragmatically. However, I have a problem...
I create an Empty Project, copy all the frameworks over and set the build settings - and I get errors about the executable.. or lack of...