Search:
Type: Posts; User: Rocketdawg
Search:
Search took 0.16 seconds.
-
Hi,
Take a look at the JObject class (Newtonsoft).
The basic idea is to get the response string (json). Here's code from my project (getting time zones from Google)
var raw = new...
-
Hi,
If the page is doing a refresh every minute, you might want to check out SignalR. Also, Introduction-to-signalr
I've just started using it on a couple of test projects - it allows 'real time...
-
Hi, you'll want to use the OnSelectedIndexChanged event on the first dropdownlist to data bind the second.
-
Hi all
I'm pulling out what little hair I have left -- I need some help from a css guru :)
This aside is set at 100% width and contains images that scale as viewport changes.
...
-
Hey
I'm a bit rusty on this but you may be able to catch the text changed event on the textboxes in your header template. You'll need to set auto postback to true. add attribute...
-
Thanks Motil (and Gary)
I added a trigger to a hidden field
$('#hdAjax').ajaxComplete(function() {
alert(counter);
});
-
Hi all
I've got a piece of code that is driving me crazy.
No matter what I try, I can't get the javascript var to increment. BTW, I am using the jquery library. Any ideas?
<script...
-
Hey Gep
:blush: Ok, it was my bad.
I had been laying out the form before writing the ajax and I left <select id="ddl_coSalutation".... in the mark up. It was right above the target container...
-
Hey Gep
I thought I was finally free of ClientID.
With MVC, I can use a MVC Master and the id's in the content areas are clean (the way they are written). Makes it super easy to use jquery or...
-
Hi All
I'm working on an MVC application and I ran into a little snag.
I've got a form with the usual textboxes and dropdowns. I decided to use jquery ajax (GET) to load the dropdowns on load...
-
-
Hey Gary
Worked like a champ. I didn't want to restrict what was typed in the textbox, but only run the ajax for valid alpha characters.
Originally, I had a regex in the pagemethod that checked...
-
Hey Gary
Wow, I didn't think about that! I'm pushing the shift key + the letter = 2 alerts.
I think I'll add
if (event.keyCode = (!((c >= 65 && c <= 90) || (c >= 97 && c <= 122)))){return};...
-
Hi All
I've got the an bit of ajax and the succeed runs twice. I've got a global var that I used to keep track.
var counter = 0
$('#txtLookupText').keyup(function(event) {
...
-
Hey Gary
Thanks
I had read a lot of articles that said the same thing about eval(), but the warnings all seemed a bit vague.
This morning I found this article:...
-
Hi
I've started building a web application using jquery.
The pagemethod uses a class to validate the data passed in from the page (before doing a db insert).
So for example if
...
-
Hi
I'm using SSRS to create a requisition for a company. One of the fields is the description which can be quite long.
They want to be able to cut and paste the description (line by line) into...
-
Hi Mendhak
Thank you. Completely forgot about CType.
I'll give it a shot later
Cheers
-
Hi
I'm trying to dynamically load a usercontrol, but have run into a snag.
Here's my code:
Dim VendorSelector1 As UserControl = LoadControl("~/*****erControls/VendorSelector.ascx")
...
-
Hi
Thank you for the quick response.
Is there a way to do that from the query designer? The end goal would be to use a make table command from the query.
Cheers
-
Hi
I created a table in Access from an Excel sheet. It's just a list of vendors for the company (all 8000 of them).
Some of the address lines are not really addresses, so I want to eliminate...
-
Something like:
<membership defaultProvider="MySQLDatabase">
<providers>
<add name="MySQLDatabase" connectionStringName="MySQLDatabaseConnString"...
-
Hi
You should be able to assign the rowindex to the "add to cart" button's command argument.
In the rowdatabound event:
btnAddToCart.commandargument = e.row.rowindex
Then I think you could...
-
Hi all
I'm trying to set up an automated routine using database mail. This would take no time in vb, but my SQL skills are WEAK.
I need to (?) create a temp table or cursor to grab the email...
-
Hi
I've always had better luck assigning values in the rowdatabound event of the gridview.
You will need to give the anchor a runat=server & give it an ID
Something like (This is Friday...
-
Hi
Add a custom validation control (or any other) to the footer and assign the validationgroup="gvABCConfig_footer".
Assuming you've got a "new" button somewhere, give it the same...
-
Could be there's default space around the image or maybe padding in the footer.
Try removing margin, padding and set border:none on the image and remove padding from the footer.
It's usually...
-
I don't know if it was just the 'cut & paste', but it looks like the container doesn't have a close tag. And that overflow:hidden could be an issue.
-
-
Hi
I'm having trouble with a piece of javascript
The script is assigned to a dropdownlist in a gridview.
Dim js As String = "var ele = document.getElementById('" & ClientID & "');var dd =...
-
Hi
I've got a page that allows administrators to create new users. I using the createuserwizard.
Unfortunately, after a new user is created, that user is logged in. Their name appears in the...
-
Could you nest the datalists?
Here's an example using repeaters. I used something similar for a newsletter archive.
http://www.codeproject.com/KB/aspnet/AspNetNestedRepeaters.aspx
-
Fishcake
Thanks for the reply.
I was trying to save real estate in a gridview I'm working on, which didn't really need 30 calendar objects embedded in it. I decided to use a pop up calendar...
-
How can I refer to a page control from a usercontrol?
I tried:
Dim mypage as Page = Me.Page
Dim Cal as calendar = CType(mypage.FindControl("CalendarName"),Calendar)
Cal.visible = true
Is...
-
Hi
I'm trying to write a little script for a popup calendar. What I'd like to do is set it up so when the button is pushed, the calendar pops right next to the button.
The trouble I'm having is...
-
hey
you have a several options. you can use cross page posting
http://msdn.microsoft.com/en-us/library/ms178139.aspx
or you can use querystrings
MyNextPage.aspx?LabelText=
-
I just couldn't let it go and I figured it out. I needed to cast e.row.dataitem as my class, then evaluate the property.
Anyway, for anyone else who might be stuck, to use the rowdatabound event...
-
Hi
I'm working on a class that returns List(of MyClass)
I got my list to bind and sort with the Gridview, but I ran into a snag in the rowdatabound event.
When I try to evaluate ...
-
I just started working with web parts and I've run into a problem already :mad:
It's the menu. When I click the triangle in the corner, a menu appears with a standard "Minimize" & "Close"
The...
-
Hi Strick
How about creating your own function to handle the click event.
In the gridview
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="dothis" ToolTip='<%#...
|
Click Here to Expand Forum to Full Width
|