c# 4.0 - notification sound in build version in c# -


i created 1 notification using kendo,when notification araises kept system.media.systemsounds.hand.play(),

it working fine while project running,when publish project , run in build version notification sounds not coming?

what should do?

        public jsonresult demonotification()         {           list<demonotification> res = new list<demonotification>();           datatable dt = functions.gettbl(cmd);             if (dt.rows.count > 0)              {                for(int i=0;i<dt.rows.count;i++){                     demonotification obj = new demonotification();                     obj.companyname = dt.rows[i]["companyname"].tostring();                     obj.demodate =convert.todatetime(dt.rows[i]"demodate"]);                     res.add(obj);                     system.media.systemsounds.hand.play();                 }              }             return json(res);         }      function load() {                 $.ajax({                     url: root("crm/demonotification"),                     type: "post",                  }).done(function (data) {                     (var = 1; <= data.length; i++) {                         notification.showdemosuccess("demo <b>" + data[i - 1].companyname.tostring() + "</b> on", date(data[i - 1].demodate));                     }                   });             } 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -