Why Nothing Behave Differently Between RDL And RDLC
Feb 12, 2010
Why IsNothing() is behave differently between RDL and RDLC? I was trying to create a report (RDLC) in VS 2008 and using the IsNothing() function to check to NULL value, however, it keeps return #ERROR when I tried to execute this expression:IIF(IsNothing(Fields!dbField.Value),"emtpy",Fields!dbField.Value)However, I tried the same expression with Reporting Services report (RDL), it works and return "empty" string.
View 3 Replies
Similar Messages:
Aug 17, 2010
I have a button in a repeater control. It saves the data on the screen, so ideally I'd like to do this and not have the screen refresh, as there is no new data to be shown. When I am debugging using localhost, the page just sits there, the data gets saved all is well.However, when I upload the very same page and code to my host, clicking the button causes a full refresh, which as there is a lot of data, means a long wait each time.
View 2 Replies
Mar 20, 2010
VWD 2008 Express. Visual Basic.
I want to sequence focus from a textbox in one row to the textbox in the next row in a gridview when the user presses the down arrow key, just as it does when the user presses the Tab key. How can this be accomplished?
View 1 Replies
Sep 10, 2010
I'm designing a layout for a report in VS2008 using SSRS/RDLC format. And every time I setup a part of that report i test it on my workstation to see if everything is ok. But, today, i finished the first page of that report and uploaded it to my hosting server (were it's going to be used), and when i press the button to convert the report to .pdf and download it the layout is completely ruined :-/ When i do the same thing in my workstation every thing 'comes out' beautifully, but up on the server it doesn't .
View 2 Replies
Jan 14, 2010
The site is written in vb.net, and accessed via https.User randomly meets the warining dialog"This page contains both secure and non-secure items.Do you want to display the non-secure items?", after clicking 'Yes', 404 not found error page will be displayed, but by refreshing, the warning dialog and 404 page
all gone. Also by viewing source code from IE, I found '<meta content="Http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">' where only uses http protocol, Does this have any thing with the error user meets?
View 6 Replies
Mar 1, 2011
I have an asp.net application with c# language. I have a common class which maintain the constants and static variables and fields. I also have a login page. If the user logs in successful I set IsLoggedInSuccessfull as a static boolean variable in common class.
My question is: Will this only work for a specific user session or for overall application ?
Edited:
Based on some answers I got another question here.
let say i am using the Static method as Authenticate(User objUser). intention is to call this method when user clicked log in button. where on login button I am let say prepare the User object with certain parameters required for login, then passing to this method. what would be the impact there? let say I have single server for now (no server farm or garden). then there will be the single application level method to authenticate the user, right? and say 10000 user are going to logging in to this site/application then how authenticate() method comes in behaves ? will CLR automatically manage threading there ?
View 5 Replies
Jan 6, 2011
Bydefault breadcrumbs links are behaving like Navigate Url.Due to this we can not get Previous page data.But can we make that link to behave similar to Postback url, like LinkButton has property PostbackUrl , with the help of this we can get Previous Page data.
View 1 Replies
Dec 18, 2010
I have encountered a weird thing. I did a quick prototype in plain HTML to show a client an idea for a web page. Then I proceeded to implement the page in MVC 2. The border that I'm utilizing (border-style is ridge) is being displayed differently when rendered as a MVC app versus a HTML page in IE 8 (I haven't checked any other version of IE).
<div style="background-color: black; color: white; width: 100%; border-style: ridge; border-width: 5px;">
<table style="padding: 0; margin: 0; width: 100%;">
<div style="color: white; font-family: Arial; font-size: 32pt; font-weight: bold;">
[code]...
View 9 Replies
Feb 10, 2010
For the past few days Ive been searching for a way to highlight the active tab. If I have say 5 tabs, tab1 (when active) would have the background color red, tab2 green (when active), tab 3 blue (when active) etc. Is there a way to do it?
View 4 Replies
Dec 20, 2010
I have the following in my data table and I want to display it differently as in the second example below in a datagrid.
UserID Questions Answers
1 What is your dog's name belle
1 Tell us why you should win. Because I need to win
2 What is your dog's name Leigh
2 Tell us why you should win. I've never won before
I'd like the get the result displayed like this below in a grid view.
UserID Question: What is your dog's name Question: Tell us why you should win.
1 Answer: belle Answer: Because I need to win
2 Answer: Leigh Answer: I've never won before
View 2 Replies
Apr 15, 2010
Using vb.net/asp.net 2005 with a Master page.
I developed a page where the formatting looks great in Internet Explorer 8 but when I open the same page in Mozilla Firefox 3.6.3 it does not center the div horizontally (left to right) but instead has the div and content inside on the left side of the page.
View 4 Replies
Mar 28, 2011
I have an Application_Error handler in my Global.asax file. However, I load many pages using an XHR request and would rather these "sub pages" return javascript or a real 500 code for my main app to process, rather than an error page.
Is it possible to handle errors on certain pages in a different way? Can a master page handle its own errors in a page extending it without bubbling it up to Global.asax?
View 4 Replies
Apr 17, 2010
Help me replace this code, both me and Resharper don't like it:
<table width="100%">
<% for (int row = 0; row < 10; ++row) {%>
<%= "<tr" + ((row % 2 == 0) ? " class='even'" : "") + ">" %>
...
</tr>
<%}%>
</table>
View 4 Replies
Jan 18, 2011
Is it possible to detect or use a different template in the asp.net repeater for the last iteration in the repeater?If not I could just use a for loop but I'm curious if it can be done.
View 2 Replies
Apr 30, 2010
I have an ASP.NET (framework 2.0) web app running under IIS7.hen I run the app on the server, using IE8, localhost the app runs the way it is supposed to.When I run the app in Visual Studio 2008 (framework 2.0) it runs the way it is supposed to.But when I try to run the app from another computer it renders incorrectly.Same versions of IE8.What would cause the serving of an ASP.NET application to render correctly on the server, but incorrectly when serving to another computer, when the Internet Explorer versions are the same?
View 1 Replies
Feb 22, 2011
If have the following web.config:
<configuration>
<system.web>
<authentication mode="Forms">
<forms name="MembershipCookie"
loginUrl="Login.aspx"
protection="All"
[code]...
View 1 Replies
Jun 30, 2010
I am new to this MVC and have a basic question related to validation. I have a create view for customer and based on the customer entity partial class metadata, I am validating the user input and its working fine as expected when the user clicks the create button.I also have a search button in the same create view, which is used for auto generation of some of the field values. When the user clicks the search button the action method create (post) is called with the corresponding button value as argument.the issue here is when the user clicks the search button most of the user input fields will be blank and the validation fails because of that.
View 4 Replies
Oct 19, 2010
i have a page where i have some text boxes and some dropdowns at the top and a Gridview(in the other page) in a Iframe at the bottom.the problem is that when i see this page in IE 8 and Mozilla 3 i can see them nicely formatted.but when i see it in IE 8 with compatibility mode on then the boxes are sqaushed and the columns of the gridview are also squashed and the whole page looks bit clunky.
View 4 Replies
Dec 9, 2010
I've got a details view control, default set to Insert which I've added file upload controls. I've used a button to begin the upload process and add the other data to the database. The weird thing is that if I use FireFox to enter the data and upload the files, everything works fine but it works slightly differently in IE8. The difference is that when I browse for a file in FireFox, upload it and store the file name, it returns just the file name e.g. myPic.jpg. However, when I upload with IE8 it stores the entire route to the file e.g. C:/Users/Users/Site/myPic.jpg Why would a browser treat these things differently? And, is there a way to fix it to work on both browsers?
View 2 Replies
Oct 19, 2010
I have a strange problem that I am trying to find a solution to or even only know why does this happen. I built a website using ASP.NET, when I run the website locally it looks very normal (I am speaking Style and CSS wise) on all the browsers (including IE8). And when I deploy this website to the test server which has Windows Server 2003 and IIS 6, the applications looks normal too on all the browsers except IE8. I did not try other versions of IE but I have a requirement to have this website working on IE8. Some tweaking on the CSS solves some of the problems but I do not want to go through each and every tiny detail and rework my whole CSS. There are even some problem which cannot be resolved.I have no clue why is this happening. It should be something either with the OS or the application server because those are the only differences between my machine and the server. On my machine I have Windows 7 Enterprise and I was test the website on the ASP.NET development server.
View 3 Replies
Feb 15, 2011
I was adding ContentPlaceHolder by dragging it from the Toolbox to a master page. Depending on the spot where it is inserted, the mark up generated is different:
[Code]....
Is the control name ContentPlaceHolder or contentplaceholder?
When I drag ContentPlaceHolder2 to the bottom of the page, after </html>, it stays unchanged for a while. Then when I formatted it (Ctrl-K, Ctrl-H), the control became contentplaceholder!!
View 2 Replies
Jun 13, 2010
In my webconfig file, I am using Forms authentication and I have:
[Code]....
and my default.aspx page is protected as it should. After logging with the proper credentials I am directed to the protected default.aspx page, however when viewing other pages of my website in chrome, and then going back to the default.aspx page something strange happens. From certain pages in my website the default.aspx redirectes me to the login.aspx page, but not from all pages, only certain ones. This behaviour dosenot accour at all in IE Explorer8 where once I am properly validated in my login.aspx page, I can view the default.aspx page from all other pages in my website until I logout from default.aspx page.
View 2 Replies
Sep 2, 2010
This is bizarre and seems like a bug to me.Using a table in SSRS, I have a details row, with a parent group and finally a header row. For my header row, I am referencing a particular cell in the parent group.I am doing this so that i can have the header row repeat on each page of the group.his works fine when I'm not in Print Layout mode. However, when i switch to print layout mode, or print the report itself, the data that is presented on the screen is different then what is presented when not in print layout mode. WHAT THE F*!@!??
I've been battling this for a while now and i'm at my wits end. Has anyone else experienced different results from when you are in print layout mode as opposed to being in print layout mode?
View 1 Replies
May 10, 2010
I have a usercontrol which needs to work slightly differently according to the attributes of its owning page.Is there a way to determine the owning page from within the user control?
View 1 Replies
Jan 15, 2010
I have incorporated the asp.net membership and roles feature in my web app on my local dev setup that uses SQL 2008 Developer edition, all works as it should.
My remote system uses SQL 2005 express and I went through the process of creating the ASPNET membership tables via the "aspnet_regsql" command to my remote target database. I then created a few users, adjusted my app connection strings accordingly and uploaded.
My login page uses the "login" server control and when I try and login using credentials from one of the previously created users I get a "Your login attempt was not successful. try again." error. I know the users are in the DB as I can see then via the SQL Management studio on the remote DB. I have triple checked the username/passwords and I am definately entering the correct info. The connection strings are correct as the initial page renders content from another table in the DB. I am getting no errors.
My best guess at the moment is that SQL Express handles Membership/Roles connections differently to the full versions of SQL?
View 6 Replies