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
K

Kurian_Kurian

@Kurian_Kurian
About
Posts
49
Topics
35
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Embed object is not working
    K Kurian_Kurian

    Hi,i wan to show the video in asp.net page,so am using embed object.it is working in my local machine but after hosting that page not working in my machine.am adding this code in datalist control.embed code as follows Databindcode as follows DataTable VideoTable = new DataTable(); DataColumn VideoColumn; VideoColumn = new DataColumn(); VideoColumn.DataType = Type.GetType("System.String"); VideoColumn.ColumnName = "VIDEO"; VideoTable.Columns.Add(VideoColumn); foreach (string Files in Directory.GetFiles(System.Web.HttpContext.Current.Server.MapPath("Video"), "*.wmv")) { VideoTable.Rows.Add(Files); } One more doubt.will the embed object work all the browsers or it is a browser specific.in my local machine it is IE6 only.if it is a browser specific which is the best solution for showing the video

    ASP.NET csharp asp-net sysadmin hosting

  • How to use the 'OR' Condition
    K Kurian_Kurian

    Hi,this is my code.how to use OR condition in c# code,this code is not working.i want to check the selected image extension.if the extension .jpg or .bmp then it is going to this condition code.what is wrong in that. if (System.IO.Path.GetExtension(cmdBrowse.FileName).ToLower() != ".jpg" | System.IO.Path.GetExtension(cmdBrowse.FileName).ToLower() != ".bmp")

    ASP.NET csharp tutorial question

  • How to show header in DataList
    K Kurian_Kurian

    Hi.How we can show header in DataList.i had given the property showheader=true,in this DataList only one column that is repeated column(3).Like Datagrid is there any propery for adding the Header.

    ASP.NET tutorial

  • Problem showing alert message from code
    K Kurian_Kurian

    Hi.I want to show the javascript alert message if the conditions fail,but the following code is not showing the alert message.when i am putting break point it is going to this code but not showing message.what is wrong in this code. Page page = HttpContext.Current.Handler as Page; if ((System.IO.Path.GetExtension(cmdBrowse.FileName).ToLower() != ".jpg") | (System.IO.Path.GetExtension(cmdBrowse.FileName).ToLower() != ".bmp") | (System.IO.Path.GetExtension(cmdBrowse.FileName).ToLower() != ".png")) { if (page != null) { page.ClientScript.RegisterStartupScript(page.GetType(), "msgbox", "alert('Upload only jpeg or bmp or png Images');", true); } }

    ASP.NET javascript help question

  • Drop Down List Selected Value Problem
    K Kurian_Kurian

    it is Listing all the values in the dropdownlist but when i select any value am not getting that value.getting selected value=null or selectedindex=-1

    ASP.NET wpf wcf help

  • Drop Down List Selected Value Problem
    K Kurian_Kurian

    Hi am binding the Data in the dropdownlist(cboYY).But after selecting the value am not getting the selected value always getting selectedIndex=-1 and the selected value is getting Null that code as follows string a =Convert.ToString(cboYY.SelectedIndex); string b = cboYY.SelectedValue; Databinding code as follows private void bindYear() { DataTable YearTable = new DataTable(); DataColumn YearColumn; YearColumn = new DataColumn(); YearColumn.DataType = Type.GetType("System.String"); YearColumn.ColumnName = "dobYear"; YearTable.Columns.Add(YearColumn); YearTable.Rows.Add("YYYY"); for (int i = 1940; i <= DateTime.Now.Year; i++) { YearTable.Rows.Add(i); } if (YearTable.Rows.Count > 0) { cboYY.DataSource = YearTable; cboYY.DataBind(); } YearTable.Dispose(); }

    ASP.NET wpf wcf help

  • Embed Object
    K Kurian_Kurian

    I want to show the selected video clip in the asp page.so am using the embed object and iwant to pass the selected videos path to that object.i tried lot but none of them is working.embed object code below i used javascript to pass the value to the object but it is not working javascript follows function playAudio(){ var doc = document.getElementById('path'); var doc1 = document.getElementById('media'); doc.value=hdVideo.value; doc1.src=hdVideo.value; } hdVideo is a hidden field,am setting value in this hidden field from their am taking the value.if am doing window.alert am getting the value,suppose if am hardcoding this value in the embed object it is working.but i want to pass the value at run time. Then body onload event i called this javascript.

    ASP.NET javascript

  • Javascript Problem
    K Kurian_Kurian

    Hi Sandeep am sending my code. why the code is not showing after posting.what format i should use for showing the complete code.Now it is showing some part only. Javascript function function openWindow(url) { window.open(url,'Calendar', 'width=500,height=400,left=200,top=250'); } Link Button Code  LinkButton if am just passing 'userdetails.aspx' it will work.i will get popup window.but i want to add each record id also along with that. -- modified at 11:00 Wednesday 17th October, 2007

    ASP.NET help question javascript wpf wcf

  • Javascript Problem
    K Kurian_Kurian

    Hi Sandeep, I Tried with your code,it is not showing any error,page is loading,but when i click on the Link Button am not getting the popup window,that time not showing any error message.

    ASP.NET help question javascript wpf wcf

  • Javascript Problem
    K Kurian_Kurian

    I want to show the selected records Details on the next page with in the Popup window.iam displaying all the details in the Datagrid,i add one Link button in the Item template when click on this link button it should show the popup window.am binding the data while page loading. Javascript Code as follows function openWindow(url) { window.open(url,'Calendar', 'width=500,height=400,left=200,top=250'); } LinkButton PostbackUrl code as follows PostBackUrl="javascript:openWindow('UserDetails.aspx?id=<%# DataBinder.Eval(Container.DataItem,"ID") %>');">LinkButton when am running this page am getting this error message 'The server tag is not well formed'.It is showing in the Postbackurl code line.what is wrong in this line.

    ASP.NET help question javascript wpf wcf

  • What is wrong in the Javascript
    K Kurian_Kurian

    I want to show a popup window on while clicking a link button .i want to pass the url of the popup window and also the id of each record while Databinding.the code which i used as follows. Javascript as follows function openWindow(url) { window.open(url,'Calendar', 'width=500,height=400,left=200,top=250'); } Link Button Postbackurl Code as follows PostBackUrl="javascript:openWindow('<%# Concatcolumns("UserDetails.aspx?id=",DataBinder.Eval(Container.DataItem,"ID"))%>');">LinkButton Concatcolumns Function as follows public static string Concatcolumns(object obj1, object obj2) { return Convert.ToString(obj1) + Convert.ToString(obj2); } My Javascript code and Concatcolumns functions are correct only problem in my Postbackurl code.what is wrong in that.while page loading i want to bind each record id along with the popup window javascript.

    ASP.NET question javascript docker help

  • How to show a Movie or Video clip in the web page
    K Kurian_Kurian

    Can anyone help me to show a Movie or Some Video clip in the Web page.can anyone send any link or get some ideas.

    ASP.NET help tutorial

  • ShowModal window Error
    K Kurian_Kurian

    am not getting the popup window when am clicking an image button.the code as follows am getting image in this button,but when clicking it is not going to the given page.

    ASP.NET help

  • How to Play a Video Movie
    K Kurian_Kurian

    Can anyone help me how we can play a video clip or movie in the web page.anybody can get the code.

    ASP.NET help tutorial

  • How to show a document in the same format
    K Kurian_Kurian

    I want to show the history in the same format which is typing in the admin side.In the admin side i used textbox for typing the History,i written two ,three paragraphs from the admin side and save it.i will get correctly with the same format in the admin side,while saving am not using any trim.in the webside i used some controls label,table,datagris,datalist and textbox if am using other controls except text box this display continously.it will show like paragraphs.but when am using textbox i will get correctly.i don't want use textbox.why it is coming like this.is there any solution

    ASP.NET tutorial

  • HTML Table Error
    K Kurian_Kurian

    I am getting the following error when am adding a table in my page. Validation(XHTML 1.0 Transitional): Attribute 'height' is not a valid attribute of element 'table' Validation(XHTML 1.0 Transitional): Attribute 'width' is not a valid attribute of element 'tr' Validation(XHTML 1.0 Transitional): Attribute 'height' is not a valid attribute of element 'tr' My Code as follows. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminLogin.aspx.cs" Inherits="Admin_AdminLogin" %> <%----%> Test

    I commended the second line eventhough still getting these errors.

    ASP.NET csharp html help

  • How to avoid flickering
    K Kurian_Kurian

    when am deleting a control from panel am getting flickering i add suspendlayout and performlayout eventhough it is getting.How to avoid this

    Visual Basic tutorial

  • How to Use Words in Unicode Fonts
    K Kurian_Kurian

    I download one Malayalam unicode font and install it in the windows fonts.i could see this font in the word,but i cannot change the words to this font.My question is how we can use the unicode font in our webpage.i want to show some text in Malayalam,i had given the font for the Textbox is this Unicode font and when i open the webpage what all letters am typing in the Textbox still showing in English.suppose if we are using some unicode font in the webpage and when the people are opening the webpage will they get words in this font.how we can show a text in unicode fonts without installing the fonts in the clients machine.Because the contents every week it is changing so administrator has to do the changes.

    ASP.NET tutorial question

  • How to show Text in Tamil Fonts
    K Kurian_Kurian

    Hi.In my web application there is a option for 'News' this news i want to show in Tamil.suppose if we are using some Tamil fonts and inserting all the news in Tamil,how the user will get in Tamil without installing the fonts in their machine.

    ASP.NET tutorial announcement

  • How to show images in the Datagrid
    K Kurian_Kurian

    Hi.I want to show the images in the datagrid.i want to bound the datasource into datagrid.the method i used for retrieving images is written down.using this method am getting other fields.i add one template column in the datagrid and add one image control in that item template,the template column datafield given this sql image column name.sql image datatype is Image.i want to show all the images in the datagrid. public static DataSet getImages() { DataSet ds = new DataSet(); using (SqlConnection conn = new SqlConnection(connectionString)) { using (SqlCommand cmd = new SqlCommand("SPOC_PHOTOS_SELECT", conn)) { cmd.CommandType = CommandType.StoredProcedure; using (SqlDataAdapter da = new SqlDataAdapter()) { da.SelectCommand = cmd; try { conn.Open(); da.Fill(ds); return ds; } catch (Exception e) { throw e; return null; } finally { conn.Close(); } } } }

    ASP.NET database tutorial
  • Login

  • Don't have an account? Register

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