Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

DuckFace

@DuckFace
About
Posts
13
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how t ofind the control in itemtemplate of datalist
    D DuckFace

    Hi, Not sure that this is what you are looking for, but here I go! You can get a reference to the control by using the FindControl method in the updateCommand method. With this reference you can cast it to the given control and then you can use the properties for that control. In the example I'm using a label: protected void DataList1_UpdateCommand(object source, DataListCommandEventArgs e) { Label lbl2 = (Label)DataList1.Items[e.Item.ItemIndex].FindControl("Label2"); Label1.Text += " " + lbl2.Text; } You can also assign values to the control, and update the datasource. Hope this helps.

    ASP.NET help tutorial announcement

  • Compatibility issue
    D DuckFace

    Hi, Have you tried 'browserCaps'? Put the following code within the system.web tag in your web.config file. This fixed my problem with compatibility between different browsers. browser=Gecko type=${type} frames=true tables=true cookies=true javascript=true javaapplets=true ecmascriptversion=1.5 w3cdomversion=1.0 css1=true css2=true xml=true tagwriter=System.Web.UI.HtmlTextWriter version=${version} majorversion=${major} minorversion=${minor} beta=true Hope this works for you too :)

    ASP.NET css data-structures help

  • Connect to oracleDB
    D DuckFace

    Thx for response. Now i have installed the oracle provider for oledb on my local machine. I have the following method for connecting to the db: public void createOLEDBConn() { string strConn = "Provider=OraOLEDB.Oracle;Data Source=;User Id=dummy;Password=dummy"; OleDbConnection myOleDbConn = new OleDbConnection(strConn); MessageBox.Show("Just before open!"); myOleDbConn.Open(); MessageBox.Show( myOleDbConn.ServerVersion.ToString(), "Test Conn"); myOleDbConn.Close(); } The first messagebox is being showned, but when I call the open method, the application just waits and I have to stop it myself. I don't know why. Do you?? The dummy user is one I created on the server

    Database help database oracle sysadmin question

  • Connect to oracleDB
    D DuckFace

    Hi! I'm new to oracle and i'm trying to connect to a remote oracle db server. I use the following connection string: string strConn = "Provider=OraOLEDB;DataSource=;User ID=;Password="; I get the error: The provider OraOLEDB is not registered on the local machine. What does this means? The provider is installed on the server. Do I have to install it on the local machine too? Can someone please help me...

    Database help database oracle sysadmin question

  • Need help!!
    D DuckFace

    That did the trick! I can not thank you enough! Have a great day:) (It's early here (Germany), but I'm from Norway)

    ASP.NET help javascript html sysadmin

  • Need help!!
    D DuckFace

    Well! The script doesn't enter the if statement. Does the getElementById get any element in the application. Because, I want to update the menu from a different page in a different IFRAME. If not, how can I set witch page the getElement method should "search" in.

    ASP.NET help javascript html sysadmin

  • Need help!!
    D DuckFace

    Hi! Now I can run a jscript from the cs file. Thanks... I'm not good with jscript. Do you know how a javascript can reload a page and target it to a given IFRAME or do you know of a good site on javascripts (I tried using the one you sent earlier. Did'nt get it to work. Nothing happend when I ran it. I changed the id to my IFRAME id, but nothing happend). When I ran the script I could use with the hyperlink (see above) I got an error that said the page could'nt be refreshed without resending the information and I had to press retry or cancel. Nothing happend when I clicked either retry or cancel. I had to end the task in taskmanager. You've helped me a lot. If you can help me with this one too, I'll be eternaly grateful.

    ASP.NET help javascript html sysadmin

  • Need help!!
    D DuckFace

    It helps some, but I have a onClick method in the .asp.cs file that I want to execute before I reload the menu, e.g. create a Session. This is the actual problem. Is it possible to execute the javascript from the .aspx.cs file?

    ASP.NET help javascript html sysadmin

  • Need help!!
    D DuckFace

    Hi! My problem is to reload a page that I show in an Iframe. When I press a button on one page, I want a menu (in the IFrame) to be reloaded with some new menufields. Is it possible to set a target for the menu page in code behind, e.g togheter with redirect or server.transfer. If not, how could I do this. When I use the following code with a hyperlink in the html code, it works fine, but then I don't have a onClick method, so.. href="javascript:location.reload()" target="sub_top" When I do this the menu is reloaded. Please help :) Regards...

    ASP.NET help javascript html sysadmin

  • Any hints?
    D DuckFace

    Hi, everyone! One questions. I have a web application where users can log in. I want one user to be able to write to a label etc. so that all the other users in his group can see it. Is this possible, and what would be the best way to do this? I've tried to change the sessionsstate mode to serverState, and use sessions, but it does'nt work the way im thinking. Anyone??

    ASP.NET question

  • Paging in Datagrid
    D DuckFace

    Hi! I have a problem with paging in my datagrid. I have two grids and when I select one item in one grid it is transfered to another grid(and table). The problem is that when I select the last item on one page I get an error: <"Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount."> The item is transfered, but there are some problems when I call the gridbind-method to display the grid with one page lesser. How can I get through this. I've tried custom paging and regular. And many other things ;) Please help me :-)

    ASP.NET help css question

  • Several languages!
    D DuckFace

    Maybe a stupid question, but what do you mean by resource driven?

    ASP.NET xml help question

  • Several languages!
    D DuckFace

    What's the best way to create webpages with two or more languages (e.g. Germany and English)? Is using xml a good solution? Anyone who can help me :)

    ASP.NET xml help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups