Search

You searched for the word(s): userid:673215

Matching Posts

  • What Template am I in? ListView ItemDataBound Event

    I was just curious if I am doing this wrong. I see that ListViewItemType has DataItem, EmptyItem and InsertItem. But I need to know when it is on the EditItem specifically, because it would obviously have some different controls in it that the other templates would not. Right now I am just using a hiddenfield on the EditItemTemplate and giving it the value of EditItemTemplate so that I don't cause a NullReferenceException. In the code below I am loading up an EditItemTemplate, the State DropDownList
    Posted to Data Presentation Controls (Forum) by Nola3Nut on 6/10/2008
  • Re: How Do I Get the ID of the Web User Control from the Parent Page?

    Thanks, either one of those was exactly what I was looking for.
    Posted to Custom Server Controls (Forum) by Nola3Nut on 6/4/2008
  • How Do I Get the ID of the Web User Control from the Parent Page?

    How can I get a reference to the ID of the usercontrol in the .ascx file? I'd like to write up some javascript that depends on the name of that ID. I'd rather not have the javascript be static with whatever the id happens to be, because if it gets changed for some odd reason, the javascript will not work. parentpage.aspx ------------------- <%@ Register TagName="TheControl" TagPrefix="UC" Src="~/admin/include/control/misc/thecontrolfile.ascx" %> <UC
    Posted to Custom Server Controls (Forum) by Nola3Nut on 6/2/2008
  • Re: Reorderlist not reordering (newbie)

    While this is a just a tad 2 years late, I think I know what is wrong. My reorderlist isn't working when SortOrder is an Int16 [in sql this is a smallint]. Once I changed it to a an Int32 [int in sql] it began working just fine.
    Posted to ASP.NET AJAX UI (Forum) by Nola3Nut on 5/12/2008
  • Re: cannot validate field in fckeditor

    I modified what virendra1983 had just a bit. I was getting an due to having <%=FCKeditor1.ClientID %> within the javascript. <script type="text/javascript"> function ValidateContentText(source,args) { var fckinEditorClientID = document.getElementById('hdfFCKClientID'); var fckBody= FCKeditorAPI.GetInstance(fckinEditorClientID.value); args.IsValid = fckBody.GetXHTML(true) != ""; } </script> <FCKeditorV2:FCKeditor ID="fckContent" runat="server"><
    Posted to Component Discussions (Forum) by Nola3Nut on 5/6/2008
  • Re: Can't increment through array.

    You need to exit your for loop when you find a match, Loop 1 - no match, textbox 4 and 5 set to nothing Loop 2 - match, set to username and password Loop 3 - no match, textbox 4 and 5 set to nothing even though you got a good match on Loop 2 Also you are not setting your Session variables to the variables in your button Click. string strUser; string strPass; int TechCode; protected void btnSubmit_Click( object sender, EventArgs e) { strUser = Session[ "user" ].ToString(); strPass = Session
    Posted to Web Forms (Forum) by Nola3Nut on 3/10/2008
  • Re: check for null value

    Try this. It is working fine on my end with some null sql fields. protected void fvLinkFile_DataBound( object sender, EventArgs e) { HyperLink linkFile = ( HyperLink )fvLinkFile.FindControl( "linkFile" ); string path = (fvLinkFile.DataItem as DataRowView ).Row[ "path" ].ToString(); string name = (fvLinkFile.DataItem as DataRowView ).Row[ "name" ].ToString(); if ( string .IsNullOrEmpty(path) || string .IsNullOrEmpty(name)) { linkFile.Visible = false ; } else { string
    Posted to Web Forms (Forum) by Nola3Nut on 3/10/2008
  • Audio

    Is there a class that can handle combining audio files? wavs, mp3's or any other audio format? I've stumbled across DirectShow http://sourceforge.net/projects/directshownet/ Do you think this is what I should try to work with? I'd like to write it in C#, but if it has to be in something else that is ok.
    Posted to C# (Forum) by Nola3Nut on 3/10/2008
    Filed under: C# combine audio wav mp3 files directshow
  • XML Javascript Trouble in Firefox with old .net 1.1 code

    I'm working with some old code, its a lot of trouble but its easier than rebuilding an entire site. The site as a whole is in .Net 1.1 but somehow or another this guy was using xml to submit data. Alot of the code just doesn't work in Firefox, Opera, Netscape ect.. I've got it to where the form will submit from adding this code, to create a xml object that firefox and the others can handle. // code for IE if (window.ActiveXObject) { xmlDoc=new ActiveXObject("Microsoft.XMLDOM"
    Posted to Client Side Web Development (Forum) by Nola3Nut on 11/5/2007
  • Re: DropDropList that can act like a TextBox

    I think I've got a good solution. I tried out the AutoComplete extender linked to a textbox with the webservice returning the list of data from a lookup table.
    Posted to Web Forms (Forum) by Nola3Nut on 6/26/2007
Page 1 of 7 (61 items) 1 2 3 4 5 Next > ... Last »