So I have two pictures of the weirdness that is occuring.As you can see in the picture above, the scroll bar on the right hand side is being cut off a little bit by the screen, and even when you scroll to the right, you don't get the bar back, it remains cut off.
Here is the other scenario:
Here, you can see that when I scroll down in this grid, the scroll bar kind of fits into the bottom of the grid and doesn't even go all the way down. You need to manually click into the grid and hit the down arrow to get the rest of the way down.
Edit: Here is the code to generate the grid (Ext created through VB controls):
Dim VehicleOptionsGrid As New Akcelerant.Framework.WebControls.Grids.Grid
With VehicleOptionsGrid
.ID = "VehicleOptionsGrid"[code].....
I have strange problem with my query. I have two almost identical situations in which one query is acting as it should be while the other gives errors.
var osobaIme = (from o in db.osobas orderby o.osoba_ime select o.osoba_ime).ToList().Distinct();
I am using Radio buttons inside a panel in a web page. (Since group boxes are not there). But when I click on each radio button they all are checked. They are not acting as a group but single units.
I have a couple grid views one for Team Goals and one for Indicators for the Goals I want to be able to click on an indicator and it highlight the Goal in the other grid view both on the same page. I also want to be able to click one of the indicators and open a entry screen I assume for that I use the select portion of the control?
I applied this master page to two files..one inside the same folder(file1.aspx) as the master page..another outside(file2.aspx)..master page is applying alright to file2.aspx BUT not completely..a TD's bgcolor is missing..and ONLY that..why so TH files got no code of their own yet..just the application of the master pag
I m using transactionscope and there was no problem until my domain changed.When it hits the scope7, it inserts the data and starts all over again and inserts for the second time.
Here is my sample code:
Using scope7 = New TransactionScope(TransactionScopeOption.RequiresNew) Dim comm As New Data.SqlClient.SqlCommand("INSERT INTO ABC (ID, AID, Type) VALUES (@ID, @AID, @Type)", conn) comm.Parameters.AddWithValue("@ID", TaskID) comm.Parameters.AddWithValue("@AID", FormID) comm.Parameters.AddWithValue("@Type", FormType) conn.Open() comm.ExecuteNonQuery() scope7.Complete()
I am using EXT JS and .NET, Basically I am loading a JSON object into the POST and trying to send this to my asp.net page. I assign the JSON object into the ExtJS 'jsonData' parameter
[code]....
So then in VS am trying to extract this data from the .NET (HttpWebRequest) Request object. I have scoured the object for this post data and cannot seem to find it anywhere. i figured it would be in my Request.Params property, but no luck. not anywhere that i can find.
I need to save some data and return the ID that is created in the SQL 2005 database. I need the ID to pass to another object before saving that so I can associate them correctly.
What is the best way to accomplish this with Ext? Is there anything built into the Framework that makes this simple?
function AddPromotionType() { var currentDate = new Date(); var newTypeJsonObject = { promotionTypeId: '0', promotionType: Ext.getCmp('txtPromoType').getValue(), updatedBy: userid,
How can I add custom properties into control objects in ExtJs.
For example :
[code]....
This control comes from server dynamically and I want to write my custom property as well like below :
[code]....
I tried it but it said undefined. Normally since JavaScript is loose, I can easily modify objects but in this case it wouldn't work the way I expected.
For a slick UI, I am deciding between using a client side library (JQuery or ExtJS) or go with the AJAX Control toolkit. I understand that the widgets supported by ExtJS rich library does not match what's there in the toolkit. What are the pros of cons of using one over the other?
I'm trying to build an edit column, but my routine isn't quite right for some reason. My value of "store" is not returning anything like I thought it would.
function editLinkRenderer(value, metadata, record, rowIndex, colIndex, store) { if (store == V2020.ServiceStore) return '<a href="javascript:editServices(' + value + ')">Edit</a>'; else if (store == V2020.PriceStore) return '<a href="javascript:editPrice(' + value + ')">Edit</a>'; else if (store == V2020.PromoStore) return '<a href="javascript:editPromo(' + value + ')">Edit</a>'; return "Edit"; }
I need to know, whether extjs 3.1 is available of exception handling and logging build in library .Like Logging the exception as log file , with the specification of error whether it is major or minor or critical or info.new log file creating on specified size exceeded. etc...
So the code below is called when a user selects Save on an ExtJS popup modal window. This window ONLY contains a combobox. Now, sometimes when a user saves this, and then re-opens it later on, the combobox will appear BEHIND the window all grayed out, unable to get to. Other times, it will be fine and work, and no difference in events happening either time, just complete utter inconsistency.Does anyone know what this could be?
var changeProductOK = function() { var win = getChangeProductWindow(); if (win.subProductId.getValue() == '') {
I have my <httpRuntime requestValidationMode="2.0" /> in the webconfig. AndI have my validateRequest="false" in page directories.On one page, I send some data (html) from a ckeditor (textarea) to a database. Works fine.On another page I fill the ckeditor with data from a database, then I update it (send it back), and I get the famous "A potentially dangerous Request.Form value was detected from the client."
Makes me very confused. The only difference is that on the second page the data gets dynamically inserted into the textarea, where on the first page the textarea is empty on pageload. Am i missing something here? Im pretty sure Encoding/decoding doesnt mean anything, as the framework stops it before I can even start messing with it on the backend.
I've got extremely strange behavior on one of my pages. I was able to get a work-around in place, but I'd like to get input on why this error is happening (and why my work-around actually works).
(Let me also say that this is in no way, shape, or form my code...so please don't bash me too hard)
When loading the page, we're getting
BC30456 'InitializeCulture' is not a member of...
I worked through the tips here and nothing worked:
BC30456 Fixes
I was able to get the page back up and working by changing
I am using pdf4net to export PDF file. In C# I created complete logic to export data. A large part of it is legacy code so I know for sure that it works. But there is one little problem. Error in the end of code. Everything before that line is fine I check it several times. Bellow is the last line in code and bellow it is error that I receive after that line:
return pdfDoc.GetPDFAsByteArray(); at O2S.Components.PDF4NET.Graphics.PDFBrush..ctor(PDFBrush brush) at O2S.Components.PDF4NET.Graphics.Shapes.PDFHTMLTextBox.boolean(Stream[code]....
Recently I started a project and added a HTML file in it. I modified the HTML file and run it in Visual Studio to see the output. When I tried to validate the HTML file, I found some strange characters got appended. This is quite annoying, although I am not able to see those unexpected characters, I wonder what is the cause of the problem. I didn't adjust anything in control panel of the IIS server, I didn't modify the Web.config file. I tried to add another HTML file and put the same content into it, the same problem occured. Could someone tell me how should I troubleshoot the problem?
using vb.net/asp.net 2005 and sql server 2005. I'm querying the database and returning text which I am then adding to a string. I'm creating a crystal report with the text however this is not a crystal report question, its about the string data. what I"m noticing is that when I show the string on the pdf that there are some strange characters at the end of the string. I am both trimming the string and taking out null characters however the strange text shows up like this:
strangeText> SÙÇ TÙçy|Ü DÙÇ $ÛÇ </strangeText>
does anyone know what these characters are and how to get rid of them?
I have this strange error coming up in VS2008, where is says a variable in not declared in HTML view, when it clearly is declared in the codebehind:Can anyone help with why this might be happening? I've tried all sorts of things, even recreating the page from scratch, but this keeps coming up.
I am using silverlight / ASP .NET and C#. What if I want to do this from silverlight for instance,
// I have left out the quotes to show you literally what the characters // are that I want to use string password = vtakyoj#"5 string encodedPassword = HttpUtility.UrlEncode(encryptedPassword, Encoding.UTF8); // encoded password now = vtakyoj%23%225
URI uri = new URI("http://www.url.com/page.aspx@password=vtakyoj%23%225");
HttpPage.Window.Navigate(uri);
If I debug and look at the value of uri it shows up as this (we are still inside the silverlight app),
[URL]
So the %22 has become a quote for some reason.
If I then debug inside the page.aspx code (which of course is ASP .NET) the value of Request["password"] is actually this,
vtakyoj#"5
Which is the original value. How does that work? I would have thought that I would have to go,