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
D

Dhruvil

@Dhruvil
About
Posts
30
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to get data back from client side to the server side
    D Dhruvil

    Hi I have List of events in datagrid, in which i am showing only dates in the datagrid.when someone click on a row in datagrid, it will display the details for that date's event in tabular format using a javascript function on a same page.I have one hyperlink to add that details in the microsoft outlook. when some one click on that hyperlink, the displayed event will be added to the outlook.I am very confuse with this as I am implementing first time. Thank you very much.

    ASP.NET help csharp javascript asp-net sysadmin

  • How to get data back from client side to the server side
    D Dhruvil

    Hi Mark, I am sorry for that. I should wrote down complete things. Actually, the javascript functionality I implemented is not for getting data from client side to the server side, but for sending data of datagrid row from serverside to client side using datagrid events. If u want some more details, let me know. I have data on client side, but for some funcionality, i need the data from client side to server side for the perticular datagrid row. Thanks NIKI

    ASP.NET help csharp javascript asp-net sysadmin

  • How to get data back from client side to the server side
    D Dhruvil

    Thank you Mark for your quick reply. I already implemented the javascript functionality. I am using the javascript function to display the details for the selected appointment in the datagrid in some format. I need to use that javascript. Any idea, how i can add that appointment details to the ms-outlook? Thanks NIKI

    ASP.NET help csharp javascript asp-net sysadmin

  • How to get data back from client side to the server side
    D Dhruvil

    Hello all, This might be simple issue, but I am new in this. I have a datagrid, and I am sending datagrid's row data to the javascript function on- onclick event using itembound property.(e.item...) I need to use that row data again on server side, (I need to identify, which row was clicked) for adding that row data to the client's outlook calendar.Basically, I have a list of appointments in datagrid.This is the first question. Second, If anybody know, how to add, appointment to the MS-Outlook from asp.net(by javascript or serverside code) please help me. Thank you very much. NIKI

    ASP.NET help csharp javascript asp-net sysadmin

  • exporting data to MS-OutLook Calendar
    D Dhruvil

    Hi Friends, I have a data about the appointment for a date. when somebody click on a hyperlink, that appointment details should be exported in Outlook calendar of the client machine. I tried using java script, but i dont know the exact logic.If anybody can help me with some type of code, it will be a great help for me. Thank you very much. NIKI

    ASP.NET java tools help

  • How to download data in excel file from dataset in webpart
    D Dhruvil

    Hi Naishadh, Thanks for the quick response. But, to be very honest, I am new in the sharepoint environment.I know, how to export data to excel in asp.net,but not in sharepoint.If you can give me some details or some type of code, that will be great for me. Thanks, NIKI

    ASP.NET csharp help javascript asp-net sharepoint

  • How to download data in excel file from dataset in webpart
    D Dhruvil

    Hi all, I am posting this thing second time as i m not able to solve this yet. I have a dataset and a link(a href). when somebody click on that, the data from the dataset should be downloaded in to the excel file.i m working in sharepoint portal and creating web part using C#.I surf forums, which has the solution for this.But it include creating a class and a method. The thing is that, we dont have any onclick event for HyperLink in ASP.NET. if any solution with javascript, that's good too.If, any body can help me in this problem it would be appreciated. Thank you very much. NIKI

    ASP.NET csharp help javascript asp-net sharepoint

  • Creating Excel file from dataset data [modified]
    D Dhruvil

    Hi Ketan, Thank you very much sir. But I am working on Share Point server. And this functionality i have to add in my WebPart.I am facing hard time for this problem.If you can help me, it will be really great. Thank you very much ketan for your help. NIKI

    ASP.NET sysadmin help question

  • Creating Excel file from dataset data [modified]
    D Dhruvil

    Hi Ketan, Thank You very much for the valuable help. As I know, we dont have onclick event for HyperLink. So, where should i place this code??? I really appreciate your help. Thanks, NIKI

    ASP.NET sysadmin help question

  • Creating Excel file from dataset data [modified]
    D Dhruvil

    Hi, I have dataset and and a hyperlink.when somebody click on that link it should download the ms-excel file. I dont want to create it and store it on the web server. I would like to create it on the fly and send a temp file or something like that. Can anybody please help me? Thanks, NIKI -- modified at 0:23 Friday 30th June, 2006

    ASP.NET sysadmin help question

  • Passing value to javascript function "onload" event from datagrid
    D Dhruvil

    Hi all, Very much confuse with this. I have a datagrid, and i am able to pass the value to javascript function through "onclick" event as below: e.item.attributes.add("onclick","javascript:myfunction('"+value1+"');"); but, when i am trying to pass the value of the first row on datagrid through "onload" event as below: dg.Items[0].Attributes.Add("onload","javascript:myfunction('"+value1+"');"); it's not passing the value. I have to use onload event, so i can display default value th' javascript function. Any help will be appreciated. Thanks, NIKI

    ASP.NET javascript help

  • Hi Guffa, can you please look in to this?
    D Dhruvil

    Hi Sushant, Thanks for the help. Well, my data is coming from the xml file th' web service. I am retreiving it in the dataset. So, I don't think, I can get the Max value for date from that. second, your idea is only good if there is no today's or future dates.But you never know about that. And one more thing, Is there any mechanism such that, i can pass the value from the datagrid to clientside javascript function which is displaying data without onclick, onmouseover event? I mean to say, when page load, The first row of the datagrid should be selected and the value of that row should pass to the javascript function which is displaying those data on page load. I tried this: e.attributes.add("onload","javascript:showdetails("'+parameter+'");"); but thats not working. Can you have idea about that? Thanks, NIKI

    ASP.NET help com tools tutorial question

  • How to highlight today's date row in datagrid when page loaded?
    D Dhruvil

    Hi Sushant, I have all the past values at present. so, i want to highlight only the latest past date row. but instead, it's highlighting all past values. I am checking in the item_databound property. Thanks, NIKI

    ASP.NET tutorial question

  • Hi Guffa, can you please look in to this?
    D Dhruvil

    http://www.codeproject.com/script/comments/forums.asp?forumid=12076&fr=151&select=1553164&msg=1553164 How to highlight today's date row in datagrid when page loaded? I am really stuck in this issue. Thanks, NIKI

    ASP.NET help com tools tutorial question

  • How to highlight today's date row in datagrid when page loaded?
    D Dhruvil

    Hi Sushant, This should not work?? if(DateTime.Compare(DateTime.Today, dt) == +1) { e.Item.Attributes.Add("onload","this.style.backgroundColor='red';"); I don't know, i m not sure. Thanks,

    ASP.NET tutorial question

  • How to highlight today's date row in datagrid when page loaded?
    D Dhruvil

    Hi Sushant, Thank you very much for help. along with your code, i am adding this two lines. if i dont have today's date or future dates in my datagrid it will highlight the latest past date in datagrid. else if(DateTime.Compare(DateTime.Today, dt) == +1) e.Item.BackColor = Color.red; But, this makes backcolor red for all past dates rows instead of just a single latest past date.(I have at present, no future dates or today's date) I want to highlight only latest past date in datagrid. Any help??? that's really urgent. and, adition to that, it should pass the value for that row as default to the client side javascript function when page load (this should be same for future date, today's date or latest past date).i am trying with 'onload' function, but it's not working. Presently i m passing values on 'onclick' event, as below: e.Item.Attributes.Add("onclick","ShowDetail('"+ DataBinder.Eval(e.Item.DataItem,"TOPIC_DATE")+"');"); any thing you can suggest, it will be very much helpful for me. Thanks you very much again. NIKI

    ASP.NET tutorial question

  • apostrophes or quotes creating problem while passing to javascript
    D Dhruvil

    Thank you very much Guffa, The logic is perfectly working with my code. Thank you very much. I really appreciate your help. NIKI

    ASP.NET help javascript question

  • apostrophes or quotes creating problem while passing to javascript
    D Dhruvil

    Hi Guffa, I have a line in javascript function like this: function myfunction(value1) { document.GetElementById('td').innertext=value1; } how can i parse the value1 field which contain apostrophes, such a way that it will not create problem while passing to the javascript function from server datagrid. and also, i dont want to eliminate apostrophes from the output on client side. Thanks, NIKI

    ASP.NET help javascript question

  • apostrophes or quotes creating problem while passing to javascript
    D Dhruvil

    Hi all, I am passing values from my datagrid to client side javascript function. In that some of the values contains apostrophes or quotes, which is creating error.I guess, this is because of values passed to browser are in ' ' quotes, and it encounter an apostrophes or quotes, that creates an error. Anybody have some solution of this problem? Please let me know. Thank you very much, NIKI

    ASP.NET help javascript question

  • How to highlight today's date row in datagrid when page loaded?
    D Dhruvil

    Hi Sushant, The code for comparing the today's date is not here, but other thing which i implemented is here. public void dg_ItemDataBound(object sender, DataGridItemEventArgs e) { if(e.Item.ItemType==ListItemType.Item || e.Item.ItemType==ListItemType.AlternatingItem) { e.Item.Attributes.Add("onmouseover","this.style.cursor='hand'; this.style.backgroundColor='pink'; "); e.Item.Attributes.Add("onclick","javascript:ShowDetail('"+DataBinder.Eval(e.Item.DataItem,"EVENT_DT")+"');"); ShowDetail is my js function, but it nothing to do with this issue. the full issue is like : I need to highlight today's date if it's available in the datagrid, or nearest future date from today. If you can send some code, that's really helpful for me. I really appreciate your help. Thank you very much Sushant. NIKI

    ASP.NET tutorial 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